API Reference > ui-components > Tree > MutableTreeDataProvider MutableTreeDataProvider Interface Beta MutableTreeDataProvider provides manipulation processing for the Tree. Useful for Drag & Drop processing. Extends ITreeDataProvider 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 ui/components/src/ui-components/tree/TreeDataProvider.ts Line 143 Last Updated: 11 June, 2024