PagedTreeNodeLoader<TDataProvider extends TreeDataProvider> Class

Default paged tree node loader with TreeDataProvider implementation.

Extends

Implements

Methods

Name Description
constructor<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider, modelSource: TreeModelSource, pageSize: number): PagedTreeNodeLoader<TDataProvider>    
dispose(): void Disposes data source  
load(parentNode: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<LoadedNodeHierarchy> Protected Schedules to load one page of node children 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.

Properties

Name Type Description
pageSize Accessor ReadOnly number Returns page size used by tree node loader.  

Inherited properties

Name Type Inherited from Description
dataProvider Accessor ReadOnly TDataProvider AbstractTreeNodeLoaderWithProvider<TDataProvider>  
modelSource Accessor ReadOnly TreeModelSource AbstractTreeNodeLoaderWithProvider<TDataProvider>  

Defined in

Last Updated: 12 June, 2024