operators.stringObject

The texts of the filter operators displayed for string fields.

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

Example

<div id="filter"></div>
<script>
  var data = [
      { name: "Jane Doe", age: 30 },
      { name: "John Doe", age: 33 }
    ];

  var dataSource = new kendo.data.DataSource({
    data: data
  });

  $("#filter").kendoFilter({
    dataSource: dataSource,
    operators: {
        string: {
            eq: "Equals",
            neq: "Not equal",
            contains: "Contains text",
            startswith: "Starts with"
        }
    },
    fields: [
      { name: "name", type: "string", label: "Name" }
    ]
  });
</script>