# Filter KendoReact Grid with data from an API

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>7.3.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact Grid</td>
		</tr>
	</tbody>
</table>

## Description

How do I filter the Grid using `useEffect` with dummy API endpoint using JSON place holder?

## Solution

This can be achieved by fetching the data inside the `useEffect` hook and then filtering it using the `filterBy` helper function and passing the filtered collection to the [`data`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridprops#data) prop.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/grid-filtering-api/source.txt)
