API Reference > ui-components > Tree > ControlledTreeProps ControlledTreeProps Interface Properties for ControlledTree Extends CommonProps Methods Name Description noDataRenderer(): ReactElement<any, string | JSXElementConstructor<any>> Optional Custom renderer to be used when there is no data to show in tree. onItemsRendered(items: ): void Optional Callback that is invoked when rendered items range changes. spinnerRenderer(): ReactElement<any, string | JSXElementConstructor<any>> Optional Custom renderer to be used while root nodes is loading. treeRenderer(props: TreeRendererProps): ReactElement<any, string | JSXElementConstructor<any>> Optional Custom renderer to be used to render a tree. Properties Name Type Description descriptionsEnabled undefined | boolean Specifies whether to show node description or not. height undefined | number Height of the tree renderer. iconsEnabled undefined | boolean Specifies whether to show node icon or not. nodeHighlightingProps undefined | HighlightableTreeProps Used to highlight matches when filtering tree. nodeLoader ITreeNodeLoader Node loader used to load root nodes and placeholder nodes. selectionMode SelectionMode Mode of nodes' selection in tree. treeEvents TreeEvents Tree events handler. visibleNodes VisibleTreeNodes Flat list of nodes to be rendered in tree. width undefined | number Width of the tree renderer. Inherited properties Name Type Inherited from Description className undefined | string CommonProps Custom CSS class name style undefined | CSSProperties CommonProps Custom CSS style properties Defined in ui/components/src/ui-components/tree/controlled/component/ControlledTree.tsx Line 28 Last Updated: 11 June, 2024