MutableTreeDataProvider Interface

Beta

MutableTreeDataProvider provides manipulation processing for the Tree. Useful for Drag & Drop processing.

Extends

Methods

Name Description
getNodeIndex(parent: TreeNodeItem | undefined, child: TreeNodeItem): number    
insertNode(parent: TreeNodeItem | undefined, child: TreeNodeItem, index?: number): void    
isDescendent(parent: TreeNodeItem | undefined, nodeItem: TreeNodeItem): boolean    
moveNode(parent: TreeNodeItem | undefined, newParent: TreeNodeItem | undefined, child: TreeNodeItem, index?: number): void    
removeNode(parent: TreeNodeItem | undefined, child: TreeNodeItem): void    

Inherited methods

Name Inherited from Description
getNodes(parent?: TreeNodeItem, page?: PageOptions): Promise<DelayLoadedTreeNodeItem[]> ITreeDataProvider  
getNodesCount(parent?: TreeNodeItem): Promise<number> ITreeDataProvider  

Inherited properties

Name Type Inherited from Description
onTreeNodeChanged undefined | BeEvent<TreeDataChangesListener> ITreeDataProvider  

Defined in

Last Updated: 20 September, 2019