This is a migrated thread and some comments may be shown as answers.

Getting the filter that was applied

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Annie
Top achievements
Rank 1
Annie asked on 17 Oct 2014, 06:05 AM
Hi,

In this demo http://demos.telerik.com/kendo-ui/grid/filter-row. is there a way to get the filter that was applied when user clicks on the filter icon and
selects a filter

Thanks,
Annie

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 21 Oct 2014, 06:50 AM
Hello Annie,

This could be achieved by calling the filter method of the Grid's DataSource. Applying a new filter will trigger the Change event of the, so you can subscribe to it and check if the filter is the same as before. That would allow you to keep track of any changes in the currently applied filters.

Regards,
Alexander Popov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Annie
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or