statusBarTemplateString|Function

The template which renders the Status Bar/Aggregates Bar.

Example

<div id="grid"></div>
<script>
  $("#grid").kendoGrid({
    columns: [
      { field: "name" },
      { field: "age" }
    ],
    dataSource: {
      data: [
        { id: 1, name: "Jane Doe", age: 30 },
        { id: 2, name: "John Doe", age: 33 }
      ],
      schema: {
        model: {
          id: "id"
        }
      }
    },
    selectable: {
      mode: "cell",
      cellAggregates: true
    },
    statusBarTemplate: ({ aggregates }) => `${aggregates.count}`
  });
</script>
In this article
statusBarTemplate
Not finding the help you need?
Contact Support