What is the best way to pass an external filter to a grid. Basically, I have a left side filter like this https://www.coursera.org/courses, and I want to link the filter to a kendo Grid to retrieve the results, what is the best way to do that? Does Kendo has a built-in way to do this?
Thanks,
3 Answers, 1 is accepted
0
Boyan Dimitrov
Telerik team
answered on 22 Jun 2015, 08:42 AM
Hello Jianwei,
An easy way to achieve this functionality would be to set a filter expression using the filter method of the grid's data source when a selection from the left side bar.
Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Does this approach support the server side filtering? If so, what would be the required method signature on the serve side?
0
Accepted
Boyan Dimitrov
Telerik team
answered on 23 Jun 2015, 12:59 PM
Hello Jianwei,
Indeed it supports server filtering. Please refer to this blog post for a sample code and specifically how to work with the DataSourceRequest, which contains the current grid request information - page, sort, group and filter.
Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!