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

1 posts, 0 answers
  1. PEIYANG
    PEIYANG avatar
    65 posts
    Member since:
    Jul 2012

    Posted 14 Apr 2013 Link to this post

    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"}
    ]);
Back to Top