# Create a Date-Range Filter in the Grid

## Environment

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

## Description

How can I filter date ranges in the Grid.

Also, how to make Grid custom range filter working with Odata and show default value and a different format?

## Solution

This requires using the [filterCell](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops) property of the Grid column to add two DatePickers/DateInputs that will allow the user to select a start and an end date. The format can be changed by configuring the [format](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/datepickerprops#format). Use the [defaultValue](https://www.telerik.com/kendo-react-ui/components/dateinputs/api/datepickerprops#defaultValue) to pass a default value for the custom DatePicker component.

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