columns.filterable.operators Object

The property is identical to filterable.operators, but is used for a specific column.

Example - Set custom filterable operators

<div id="grid"></div>
<script>
  $("#grid").kendoGrid({
    columns: [
      {
        field: "name",
        filterable:{
          operators:{
            string:{
              eq: "custom equal",
              neq: "custom not equal"
            }
          }
        }
      },
      { field: "age" }
    ],
    dataSource: {
      data: [
        { id: 1, name: "Jane Doe", age: 30 },
        { id: 2, name: "John Doe", age: 33 }
      ],
      schema: {
        model: {
          id: "id",
          fields: {
            name: { type: "string" },
            age: { type: "number" }
          }
        }
      }
    },
    filterable: {
      extra: false
    }
  });
</script>
In this article
Not finding the help you need? Improve this article