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

Toolbar search multiple columns

1 Answer 279 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Just
Top achievements
Rank 1
Just asked on 24 Sep 2012, 02:48 PM
On Kendo grid I've implemented a search functionality that looks for values in the grid. But I've been able to do this only for one column. example: http://demos.kendoui.com/web/grid/toolbar-template.html 

I am not sure how to do it for multiple columns. Any ideas?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Just
Top achievements
Rank 1
answered on 24 Sep 2012, 03:54 PM
Too quick to post question. Added another line like

grid.data("kendoGrid").dataSource.filter({ field: "CategoryID", operator: "eq", value: parseInt(value) });
with different field name and operator and it works.
Thanks.
Tags
Grid
Asked by
Just
Top achievements
Rank 1
Answers by
Just
Top achievements
Rank 1
Share this question
or