UsePresentationTreeStateResult<TEventHandler extends TreeEventHandler> Interface

Return type of usePresentationTreeState hook.

Properties

Name Type Description
eventHandler TEventHandler Event handler to be used with a tree component.  
filteringResult { filteredProvider?: IFilteredPresentationTreeDataProvider, highlightProps?: HighlightableTreeProps, isFiltering: boolean, matchesCount?: number } | undefined Information about filtering applied on tree.  
nodeLoader AbstractTreeNodeLoaderWithProvider<IPresentationTreeDataProvider> Tree node loader to be used with a tree component.  
onItemsRendered (items: RenderedItemsRange) => void Callback for when rendered tree node item range changes.  

Defined in

Last Updated: 17 December, 2024