PagedTreeNodeLoader<TDataProvider extends TreeDataProvider> Class

Beta  

Default paged tree node loader with TreeDataProvider implementation.

Extends

Implements

Methods

Name Description
constructor(dataProvider: TDataProvider extends TreeDataProvider, modelSource: TreeModelSource, pageSize: number): PagedTreeNodeLoader    
dispose(): void Disposes data source  
getPageSize(): number Returns page size used by tree node loader.  
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
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

Last Updated: 13 June, 2024