usePagedTreeNodeLoader Function

Beta  

Custom hook which creates a paging nodes' loader using the supplied data provider and model source. The loader pulls nodes from the data provider and puts them into the model source.

usePagedTreeNodeLoader<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider extends TreeDataProvider, pageSize: number, modelSource: TreeModelSource): PagedTreeNodeLoader<TDataProvider>

Parameter Type Description
dataProvider TDataProvider extends TreeDataProvider  
pageSize number  
modelSource TreeModelSource  

Returns - PagedTreeNodeLoader<TDataProvider>

Defined in

Last Updated: 06 October, 2021