Hi, I want to extend the default date column filter with something like "Last x days". User should can put the number of days (X). Is this possible to implement? Where can I find some information about extending filters or creating custom filters?
1 Answer, 1 is accepted
0
Georgi
Telerik team
answered on 22 May 2017, 02:51 PM
Hello Ćukasz,
To use custom logic on the filtering you can use the grid.dataSource.filter() method. You can read more about filter() in the following article.
In the link bellow I configured a dojo sample that meets your requirements. There is an input where you specify the amount of the last days and then by it's value a filtering is requested.