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

What operoation is equal to the sql "in" when I filter the string in grid?

0 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PEIYANG
Top achievements
Rank 1
PEIYANG asked on 14 Apr 2013, 06:53 AM
For example ,I want to find the object that its id in "101,1011,1001' and name "Lucy" called filterstring.Need I have to filter 3 times?
$("#Grid").data("kendoGrid").dataSource.filter([
{ field: "id", operator: "eq", value: "101"},
{ field: "id", operator: "eq", value: "1001"},
{ field: "id", operator: "eq", value: "1001"}
{ field: "name", operator: "eq", value: "Lucy"}
]);

No answers yet. Maybe you can help?

Tags
Grid
Asked by
PEIYANG
Top achievements
Rank 1
Share this question
or