PresentationTreeRendererProps Interface

Beta  

Props for PresentationTreeRenderer component.

Extends

Inherited methods

Name Inherited from Description
nodeHeight(node: TreeModelNode | TreeModelNodePlaceholder, index: number): number TreeRendererProps Callback that is used to determine node height.
nodeRenderer(props: TreeNodeRendererProps): ReactNode Optional TreeRendererProps Callback to render custom node.
onItemsRendered(renderedItems: RenderedItemsRange): void Optional TreeRendererProps Callback that is called when rendered items range changes.
onNodeEditorClosed(): void Optional TreeRendererProps Callback used when an editor closes

Properties

Name Type Description
imodel IModelConnection    
modelSource TreeModelSource    

Inherited properties

Name Type Inherited from Description
height number TreeRendererProps Height of the tree area.
nodeHighlightingProps undefined | HighlightableTreeProps TreeRendererProps Properties used to highlight nodes and scroll to active match while filtering.
nodeLoader ITreeNodeLoader TreeRendererProps  
treeActions TreeActions TreeRendererProps  
visibleNodes VisibleTreeNodes TreeRendererProps Flat list of nodes to be rendered.
width number TreeRendererProps Width of the tree area.

Defined in

Last Updated: 20 June, 2023