PresentationTreeNodeLoaderProps Interface

Properties for usePresentationTreeNodeLoader hook.

Extends

Properties

Name Type Description
enableHierarchyAutoUpdate undefined | boolean Auto-update the hierarchy when ruleset, ruleset variables or data in the iModel changes.  
pagingSize number Number of nodes in a single page.  
preloadingEnabled undefined | boolean Should node loader initiate loading of the whole hierarchy as soon as it's created.  

Inherited properties

Name Type Inherited from Description
appendChildrenCountForGroupingNodes undefined | boolean PresentationTreeDataProviderProps Should grouping nodes have a suffix with grouped nodes count.
dataSourceOverrides undefined | Partial<PresentationTreeDataProviderDataSourceEntryPoints> PresentationTreeDataProviderProps By default the provider uses PresentationManager accessed through Presentation.presentation to request
imodel IModelConnection PresentationTreeDataProviderProps IModel to pull data from.
ruleDiagnostics undefined | { handler: DiagnosticsHandler, severity?: DiagnosticsLoggerSeverity } PresentationTreeDataProviderProps Settings for capturing rule diagnostics.
ruleset string | Ruleset PresentationTreeDataProviderProps Id of the ruleset to use when requesting content or a ruleset itself.

Defined in

Last Updated: 12 June, 2024