API Reference > ui-components > Tree > TreeNodeLoader TreeNodeLoader<TDataProvider extends TreeDataProvider> Class Default tree node loader with TreeDataProvider implementation. Extends AbstractTreeNodeLoaderWithProvider<TDataProvider> Implements IDisposable Methods Name Description constructor<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider, modelSource: TreeModelSource): TreeNodeLoader<TDataProvider> 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 loadNode(parent: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<TreeNodeLoadResult> AbstractTreeNodeLoaderWithProvider<TDataProvider> Do not override this method. updateModel(loadedHierarchy: LoadedNodeHierarchy): void Protected AbstractTreeNodeLoaderWithProvider<TDataProvider> A method that's called when load loads some nodes and we need to put them into model source. Inherited properties Name Type Inherited from Description dataProvider Accessor ReadOnly TDataProvider AbstractTreeNodeLoaderWithProvider<TDataProvider> modelSource Accessor ReadOnly TreeModelSource AbstractTreeNodeLoaderWithProvider<TDataProvider> Defined in ui/components/src/ui-components/tree/controlled/TreeNodeLoader.ts Line 119 Last Updated: 12 June, 2024