ControlledTreeWithFilteringSupportProps Interface

Deprecated  Use hooks. Will be removed in iModel.js 3.0

Beta  

Props that are injected to the ControlledTreeWithFilteringSupport HOC component.

Methods

Name Description
onFilterApplied(filter: string): void Optional Called when filter is applied.  
onMatchesCounted(count: number): void Optional Called when FilteredDataProvider counts the number of matches  
onNodeLoaderChanged(nodeLoader: undefined | AbstractTreeNodeLoaderWithProvider<IPresentationTreeDataProvider>): void Optional Called when changing from original node loader to filtered and back.  

Properties

Name Type Description
activeMatchIndex undefined | number Index of the active match  
filter undefined | string The text to search for  
nodeLoader AbstractTreeNodeLoaderWithProvider<IPresentationTreeDataProvider> Node loader used to load nodes for tree.  

Defined in

Last Updated: 11 June, 2024