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

feature request: event for filterActive filterInActive?

1 Answer 18 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 12 Mar 2012, 10:38 PM
Hi,

We would like to listen to an event on our datasources.
If there are active filters, we would like to be notified, so we can display a filter warning icon on our page.

Likewise, when the filter is updated so there is no actualy filtering anymore, we should be notified as well allowing us to remove the warning icon.

This is important because the user needs to be aware he filtered his data.

Thanks very much!
David.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 16 Mar 2012, 08:09 AM
Hello,

 You can use the change event of the datasource and check if there are any filters. To get the filters you can use the filter() method.

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
David
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or