API Reference > ui-components > Tree > ITreeDataProvider ITreeDataProvider Interface Interface for a tree data provider class Implemented by SimpleTreeDataProvider Methods Name Description getNodes(parent?: TreeNodeItem, page?: PageOptions): Promise<DelayLoadedTreeNodeItem[]> getNodesCount(parent?: TreeNodeItem): Promise<number> Properties Name Type Description onTreeNodeChanged undefined | BeEvent<TreeDataChangesListener> Defined in ui/components/src/ui-components/tree/TreeDataProvider.ts Line 82 Last Updated: 13 June, 2024