useTreeNodeLoader Function
Custom hook which creates a 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.
useTreeNodeLoader<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider, modelSource: TreeModelSource): TreeNodeLoader<TDataProvider>
Parameter | Type | Description |
---|---|---|
dataProvider | TDataProvider | |
modelSource | TreeModelSource |
Returns - TreeNodeLoader<TDataProvider>
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.