pageable.messages.of String (default: "of {0}"),

The label that is displayed before the pager input. Uses kendo.format. Contains one optional {0} placeholder which represents the total number of pages.

Example - setting the label after the pager input

<div id="treeList"></div>
<script>
    $("#treeList").kendoTreeList({
        columns: [
          { field: "id" },
          { field: "name" }
        ],
        dataSource: {
            data: [
              { id: 1, parentId: null, name: "item 1" },
              { id: 2, parentId: 1, name: "item 2" },
              { id: 3, parentId: 1, name: "item 3" },
              { id: 4, parentId: 1, name: "item 4" },
            ]
        },
        pageable: {
            pageSize: 2,
            input: true,
            messages: {
                of: "from {0}"
            }
        }
    });
</script>
In this article
Not finding the help you need? Improve this article