MutableTreeDataProvider Interface

Beta  

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

Extends

Methods

Name Description
getNodeIndex(parent: undefined | TreeNodeItem, child: TreeNodeItem): number    
insertNode(parent: undefined | TreeNodeItem, child: TreeNodeItem, index?: number): void    
isDescendent(parent: undefined | TreeNodeItem, nodeItem: TreeNodeItem): boolean    
moveNode(parent: undefined | TreeNodeItem, newParent: undefined | TreeNodeItem, child: TreeNodeItem, index?: number): void    
removeNode(parent: undefined | TreeNodeItem, 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: 11 June, 2024