New to Kendo UI for Angular? Start a free 30-day trial

LoadMoreDirective

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

Selector

[kendoTreeViewLoadMore]

Inputs

NameTypeDefaultDescription

kendoTreeViewLoadMore

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

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).

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).

In this article

Not finding the help you need?