API Reference > presentation-components > Tree > IPresentationTreeDataProvider IPresentationTreeDataProvider Interface Presentation tree data provider. Extends ITreeDataProvider IPresentationDataProvider Implemented by PresentationTreeDataProvider Methods Name Description getFilteredNodePaths(filter: string): Promise<NodePathElement[]> Returns filtered node paths. getNodeKey(node: TreeNodeItem): NodeKey Returns a NodeKey from given TreeNodeItem. loadHierarchy(): Promise<void> Optional Loads the hierarchy so on-demand requests and filtering works quicker Inherited methods Name Inherited from Description dispose(): void IPresentationDataProvider Disposes of any resources owned by this object. getNodes(parent?: TreeNodeItem, page?: PageOptions): Promise<DelayLoadedTreeNodeItem[]> ITreeDataProvider getNodesCount(parent?: TreeNodeItem): Promise<number> ITreeDataProvider Inherited properties Name Type Inherited from Description imodel Readonly IModelConnection IPresentationDataProvider IModelConnection used by this data provider onTreeNodeChanged undefined | BeEvent<TreeDataChangesListener> ITreeDataProvider rulesetId Readonly string IPresentationDataProvider Id of the ruleset used by this data provider Defined in presentation/components/src/presentation-components/tree/IPresentationTreeDataProvider.ts Line 17 Last Updated: 11 June, 2024