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

filterable associated javascript function is not calling

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raj Yennam
Top achievements
Rank 1
Raj Yennam asked on 23 Jul 2013, 10:39 AM
Hi,

i have set a javascript function to kendo ui grid's filterable using the option "filterable:  { ui: timeFilter };". it's calling for the column's quick filter first time visit.
To clear all the applied filters I am using the following code:
                         $("form.k-filter-menu button[type='reset']").trigger("click");

After clearing the filters ,  filterable's javascript function is not calling.
How do I call  the filterable's associated javascript function after clearing filters.

Please suggest on this.

Thanks,
Raj Yennam

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 25 Jul 2013, 09:23 AM
Hello,

As described here, the function is called only to initialize the inputs and will not be called after clearing the current filter or any other operation. Why should the function be called again in your scenario?
On a side, note to clear the filters you can use the dataSource filter method.

Regards,
Daniel
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
Raj Yennam
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or