PresentationTreeDataProviderProps Interface

Properties for creating a PresentationTreeDataProvider instance.

Extends

Properties

Name Type Description
appendChildrenCountForGroupingNodes boolean | undefined Should grouping nodes have a suffix with grouped nodes count.  
customizeTreeNodeItem (item: Partial<DelayLoadedTreeNodeItem>, node: Partial<Node>) => void | undefined Callback which provides a way to customize how data is mapped between Node and TreeNodeItem.  
dataSourceOverrides Partial<PresentationTreeDataProviderDataSourceEntryPoints> | undefined By default the provider uses PresentationManager accessed through Presentation.presentation to request  
hierarchyLevelSizeLimit number | undefined The limit for how many ECInstances should be loaded for a single hierarchy level.  
imodel IModelConnection IModel to pull data from.  
onHierarchyLimitExceeded () => void | undefined Callback for when the hierarchy limit is exceeded while loading nodes.  
pagingSize number | undefined Paging size for obtaining nodes.  
ruleset string | Ruleset Id of the ruleset to use when requesting content or a ruleset itself.  

Inherited properties

Name Type Inherited from Description
devDiagnostics { backendVersion?: boolean, handler: ClientDiagnosticsHandler, perf?: boolean | { minimumDuration: number }, severity?: DiagnosticsLoggerSeverity } | undefined DiagnosticsProps Settings for capturing rules engine diagnostics.
ruleDiagnostics { handler: ClientDiagnosticsHandler, severity?: DiagnosticsLoggerSeverity } | undefined DiagnosticsProps Settings for capturing rule diagnostics.

Defined in

Last Updated: 06 November, 2024