statusBarTemplate String|Function

The template which renders the Status Bar/Aggregates Bar.

Example

$("#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}`
});
In this article