messages Object

The text messages displayed in the filter. Use it to customize or localize the filter messages.

Example - set the messages

<div id="filter"></div>
<br /><br />
<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,
    expressionPreview: true,
    applyButton: true,
    messages: {
        and: "And",
        or: "Or",
        apply: "Apply"
    },
    fields: [
      { name: "age", type:"number", label: "Age" },
      { name: "name", type:"string", label: "Name" }
    ]
  });
</script>
In this article
Not finding the help you need? Improve this article