API Reference > ui-components > Tree > TreeNodeLoader TreeNodeLoader<TDataProvider extends TreeDataProvider> Class Beta Default tree node loader with TreeDataProvider implementation. Extends AbstractTreeNodeLoaderWithProvider<TDataProvider extends TreeDataProvider> Implements ITreeNodeLoader ITreeNodeLoaderWithProvider<TDataProvider extends TreeDataProvider> IDisposable Methods Name Description constructor(dataProvider: TDataProvider extends TreeDataProvider, modelSource: TreeModelSource): TreeNodeLoader dispose(): void Disposes data source load(parentNode: TreeModelNode | TreeModelRootNode): Observable<LoadedNodeHierarchy> Protected Schedules to load children of node and returns an Observable. Inherited methods Name Inherited from Description getDataProvider(): TDataProvider AbstractTreeNodeLoaderWithProvider loadNode(parent: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<TreeNodeLoadResult> AbstractTreeNodeLoader updateModel(loadedHierarchy: LoadedNodeHierarchy): void Protected AbstractTreeNodeLoader Inherited properties Name Type Inherited from Description modelSource Accessor ReadOnly TreeModelSource AbstractTreeNodeLoader Defined in ui/components/src/ui-components/tree/controlled/TreeNodeLoader.ts Line 108 Last Updated: 13 June, 2024