New to Kendo UI for jQueryStart a free 30-day trial

Process

class methods

Executes the specified operations over the data items

Parameters:dataArray

The data items collection

optionsObject

Accepts the same values as the DataSource query method.

Returns:Object

with total and data fields representing the result of all operations

<script>
    var data = [
      { name: "Pork", category: "Food", subcategory: "Meat" },
      { name: "Pepper", category: "Food", subcategory: "Vegetables" },
      { name: "Beef", category: "Food", subcategory: "Meat" }
    ];

    var query = kendo.data.Query.process(data, {
      filter: {
        logic: "and",
        filters: [{
          field: "subcategory",
          value: "Meat",
          operator: "eq"
        }]
      }
    });

    // print the result
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(query.data);
</script>
Not finding the help you need?
Contact Support