Edit this page

filterable.operators.enums Object

The texts of the filter operators displayed for columns which have their values option set.

Omitting an operator will exclude it from the DropDownList with the available operators.

Example - set enum operators

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category", values: [
        {text: "Beverages", value: 1 },
        {text: "Food", value: 2 }
      ]
    }
  ],
  dataSource: [
    { productName: "Tea", category: 1 },
    { productName: "Ham", category: 2 }
  ],
  filterable: {
    operators: {
      enums: {
        eq: "Equal to",
        neq: "Not equal to"
      }
    }
  }
});
</script>