useHierarchyLevelFiltering Function

Custom hook that creates callbacks for filtering hierarchy levels in the tree. Filtering works only with trees based on PresentationTreeDataProvider.

useHierarchyLevelFiltering(props: UseHierarchyLevelFilteringProps): { applyFilter: (nodeId: string, info: PresentationInstanceFilterInfo) => void, clearFilter: (nodeId: string) => void }

Parameter Type Description
props UseHierarchyLevelFilteringProps  

Returns - { applyFilter: (nodeId: string, info: PresentationInstanceFilterInfo) => void, clearFilter: (nodeId: string) => void }

Defined in

Last Updated: 25 March, 2024