search.fields Array

Defines a list of fields which will be included in the search. If values for the property are not defined the grid will search in all column fields.

Example - specify which fields will be included in the search

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { field: "age" }
  ],
  dataSource: [ { name: "Jane", age: 30 }, { name: "John", age: 33 }],
  toolbar:["search"],
  search: {
    fields: ["name"] // Or, specify multiple fields by adding them to the array, e.g ["name", "age"]
  }
});
</script>
In this article