LoadMoreDirective
Represents the directive that enables you to display only a limited number of nodes per level (see example).
<kendo-treeview
...
kendoTreeViewLoadMore
[pageSize]="10"
[totalRootNodes]="100"
totalField="totalChildren">
</kendo-treeview>
Selector
[kendoTreeViewLoadMore]
Inputs
Name | Type | Default | Description |
---|---|---|---|
kendoTreeViewLoadMore |
|
Sets the callback function that runs when the load more button is clicked. Provide a function when you fetch additional nodes on demand (see example). | |
pageSize |
|
Sets the initial number of nodes to render on each level. Each time the load more button is clicked, the page size increases by this number. | |
totalField |
|
Sets the field that contains the total number of child nodes for the data item. Use this property when you fetch additional nodes on demand (see example). | |
totalRootNodes |
|
Sets the total number of root nodes. Use this property when you fetch additional nodes on demand (see example). |