TreeRendererProps Interface

Properties for TreeRenderer component.

Methods

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

Properties

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

Defined in

Last Updated: 12 June, 2024