API Reference > ui-components > Tree > AbstractTreeNodeLoaderWithProvider AbstractTreeNodeLoaderWithProvider<TDataProvider extends TreeDataProvider> Class Abstract node loader with tree data provider which loads nodes into provided model source. Extends AbstractTreeNodeLoader Extended by TreeNodeLoader PagedTreeNodeLoader Implements ITreeNodeLoaderWithProvider<TDataProvider> Methods Name Description constructor<TDataProvider extends TreeDataProvider>(modelSource: TreeModelSource, dataProvider: TDataProvider): AbstractTreeNodeLoaderWithProvider<TDataProvider> Protected Inherited methods Name Inherited from Description load(parent: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<LoadedNodeHierarchy> ProtectedAbstract AbstractTreeNodeLoader An abstract method to load a node at the specific index for the specified parent. loadNode(parent: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<TreeNodeLoadResult> AbstractTreeNodeLoader Do not override this method. updateModel(loadedHierarchy: LoadedNodeHierarchy): void Protected AbstractTreeNodeLoader A method that's called when load loads some nodes and we need to put them into model source. Properties Name Type Description dataProvider Accessor ReadOnly TDataProvider Returns TreeDataProvider used to load nodes. Inherited properties Name Type Inherited from Description modelSource Accessor ReadOnly TreeModelSource AbstractTreeNodeLoader Defined in ui/components/src/ui-components/tree/controlled/TreeNodeLoader.ts Line 104 Last Updated: 11 June, 2024