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

[Solved] Setting filter from outside the grid

1 Answer 585 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lior
Top achievements
Rank 1
Lior asked on 07 Mar 2015, 07:31 PM
Hey,

I'm trying to accomplish the following scenario for setting filter dynamically from outside the grid:
I have a 'Status' column, I want to set the filter for this column to 'Pending' by clicking a 'Pending' button which is located outside the grid.

Please advise.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 10 Mar 2015, 04:29 PM

Hello Lior,

You can filter the dataSoruce bound to the Kendo UI Grid, by using the filter method. Here is some documentation about it:

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-filter

Regards,
Kiril Nikolov
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
Lior
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or