LoadMoreDirective

A directive that enables the display of only a limited amount of nodes per level
(see example).

Selector

[kendoTreeViewLoadMore]

Inputs

pageSize number

Specifies the initial number of nodes that will be rendered on each level.
Every time the load more button is clicked, the data item page size will be incremented with this number.

totalField string

Specifies which field holds information about the total number of child nodes of the data item.
Used when the nodes are fetched on demand.

totalRootNodes number

Specifies the total number of root nodes.
Used when the nodes are fetched on demand.

kendoTreeViewLoadMore (loadMoreArgs: LoadMoreRequestArgs) => Observable | string

Specifies the callback that will be called when the load more button is clicked.
Providing a function is only required when the new nodes are fetched from the server on demand.