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

Filter crush

4 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 02 Feb 2012, 04:15 PM
Hi,
Telerik team 

In your samples (Grid - Binding local data) filter crush when I adding both conditions to two columns. 

Thanks
Igor

4 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 03 Feb 2012, 03:31 PM
Hello Igor,

 I tried to reproduce the problem in all major browsers, but to no avail. Could you please check the screen cast and let me know if I missed something?


All the best,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Igor
Top achievements
Rank 1
answered on 03 Feb 2012, 08:23 PM
Hello Alexander,

Thank you for fast response. To explain what I meant I made screen cast for you. Please check it.

Thanks,
Igor
0
Accepted
Alexander Valchev
Telerik team
answered on 06 Feb 2012, 09:45 AM
Hi Igor,

Thank you for the screen cast. Now I see what the problem is.
Indeed, such problem exists and we will fix it as soon as possible. As a workaround you can use:
$(".k-grid").data("kendoGrid").dataSource.filter([]);

The code will clear current applied filters.

Thank you for reporting this. Your points have been updated.


All the best,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
George
Top achievements
Rank 1
answered on 23 Feb 2012, 01:02 PM
Hi! I tried this method and indeed the screen is refreshed with the entire list. Question is when I go to that filter and click on that button, the filter value still remains in the input box. Do you know how to I clear that field?? Thanks!

Found it!!:::
grid.data("kendoGrid").dataSource.filter({ field: "CategoryID", value: "" });

But this is only for specific fields, do you have something for all fields??
Tags
Grid
Asked by
Igor
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Igor
Top achievements
Rank 1
George
Top achievements
Rank 1
Share this question
or