I'm using Html.Kendo().Grid and one of the column is datetime type. The filter "is equal to" is not working. Any solution?
1 Answer, 1 is accepted
0
Vladimir Iliev
Telerik team
answered on 17 Sep 2014, 12:10 PM
Hi Bryian,
The "IsEqualTo" filter is not recommended to be used for filtering of dates as the dates contains time information which is taken into consideration:
e.g.:
//This date
'2014-09-17T12:04:58.125Z'
//Is not equal to the following example date selected from the filter due to the different time parts:
'2014-09-17T00:00:00.000Z'
Possible solution is to enable the 'serverFiltering' and ignore the time part of the date when filtering the records. Another option is to use combination of ,,are later than" and ,,are earlier than".
Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!