messages.noRecords String

Defines the text of the "noRecords" option that is rendered when no records are available in current view. The "noRecords" options should be set to true.

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { field: "age" },
    { command: ["edit", "destroy"] }
  ],
  dataSource: {
    data: [
      { name: "Jane Doe", age: 30 },
      { name: "John Doe", age: 33 }
    ],
    page: 2,
    pageSize: 10
  },
  noRecords: true,
  height: 200,
  messages: {
    noRecords: "There is no data on current page"
  }
});
</script>
In this article