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: RenderedItemsRange): 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 | 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 | number | Width of the tree area. |
Defined in
Last Updated: 20 June, 2023