usePagedTreeNodeLoader Function

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, pageSize: number, modelSource: TreeModelSource): PagedTreeNodeLoader<TDataProvider>

Parameter Type Description
dataProvider TDataProvider  
pageSize number  
modelSource TreeModelSource  

Returns - PagedTreeNodeLoader<TDataProvider>

Defined in

Last Updated: 20 November, 2024