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

Help !!, need to know wich action trigger the dataBound event

1 Answer 359 Views
Grid
This is a migrated thread and some comments may be shown as answers.
webmaster
Top achievements
Rank 1
webmaster asked on 23 Aug 2013, 01:39 AM
Hi, we need to know if there is a way to identify if the dataBound event was triggered because a filter was applied or a pagination action was perform. Please someone that can help us.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 23 Aug 2013, 06:53 AM
Hello,

You may use the DataSource's filter method to check whether currently there are any filters applied on the data. If no filter rules are active, then the method will return empty array. Through the page method you can determine on which page the Grid is currently at. This will allow you to compare the current page index to previous one (stored in a variable).

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
webmaster
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or