TreeRendererProps Interface
Properties for TreeRenderer component.
Properties
Name | Type | Description | |
---|---|---|---|
height | number | Height of the tree area. | |
nodeHeight | (node: TreeModelNode | TreeModelNodePlaceholder, index: number) => number | Callback that is used to determine node height. | |
nodeHighlightingProps | HighlightableTreeProps | undefined | Properties used to highlight nodes and scroll to active match while filtering. | |
nodeLoader | ITreeNodeLoader | ||
nodeRenderer | (props: TreeNodeRendererProps) => React.ReactNode | undefined | Callback to render custom node. | |
onItemsRendered | (renderedItems: RenderedItemsRange) => void | undefined | Callback that is called when rendered items range changes. | |
treeActions | TreeActions | ||
visibleNodes | VisibleTreeNodes | Flat list of nodes to be rendered. | |
width | number | Width of the tree area. |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.