useNodeLoader Function

Beta  

Custom hook which creates TreeNodeLoader for supplied dataProvider.

useNodeLoader<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider extends TreeDataProvider, modelSource: TreeModelSource): TreeNodeLoader<TDataProvider>

Parameter Type Description
dataProvider TDataProvider extends TreeDataProvider  
modelSource TreeModelSource  

Returns - TreeNodeLoader<TDataProvider>

Defined in

Last Updated: 13 June, 2024