ControlledTreeProps Interface
Properties for ControlledTree
Extends
Properties
Name | Type | Description | |
---|---|---|---|
descriptionsEnabled | boolean | undefined | Specifies whether to show node description or not. | |
eventsHandler | TreeEvents | Tree events handler. | |
height | number | Height of the tree renderer. | |
iconsEnabled | boolean | undefined | Specifies whether to show node icon or not. | |
model | TreeModel | Model of the tree to display. | |
noDataRenderer | () => React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined | Custom renderer to be used when there is no data to show in tree. | |
nodeHighlightingProps | HighlightableTreeProps | undefined | Used to highlight matches when filtering tree. | |
nodeLoader | ITreeNodeLoader | Node loader used to load root nodes and placeholder nodes. | |
onItemsRendered | (items: RenderedItemsRange) => void | undefined | Callback that is invoked when rendered items range changes. | |
selectionMode | SelectionMode | Mode of nodes' selection in tree. | |
spinnerRenderer | () => React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined | Custom renderer to be used while root nodes is loading. | |
treeRenderer | (props: TreeRendererProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined | Custom renderer to be used to render a tree. | |
width | number | Width of the tree renderer. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
className | string | undefined | CommonProps | Custom CSS class name |
itemId | string | undefined | CommonProps | Optional unique identifier for item. |
style | React.CSSProperties | undefined | CommonProps | Custom CSS style properties |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.