API Reference > ui-components > Tree > SimpleTreeDataProvider SimpleTreeDataProvider Class A tree data provider using SimpleTreeDataProviderHierarchy. Implements ITreeDataProvider Methods Name Description constructor(hierarchy: SimpleTreeDataProviderHierarchy): SimpleTreeDataProvider getNodes(parent?: TreeNodeItem, pageOptions?: PageOptions): Promise<TreeNodeItem[]> getNodesCount(parent?: TreeNodeItem): Promise<number> Properties Name Type Description onTreeNodeChanged BeEvent<(nodes: Array<TreeNodeItem | undefined>) => void> Defined in ui/components/src/ui-components/tree/SimpleTreeDataProvider.ts Line 25 Last Updated: 13 June, 2024