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 additional nodes are fetched on demand (see example).

totalRootNodes

number

Specifies the total number of root nodes. Used when additional nodes are fetched on demand (see example).

kendoTreeViewLoadMore

(loadMoreArgs: LoadMoreRequestArgs) => Observable<any[]> | string

Specifies the callback that will be called when the load more button is clicked. Providing a function is only required when additional nodes are fetched on demand (see example).