ControlledTreeWithVisibleNodesProps Interface

Deprecated  Use hooks. Will be removed in iModel.js 3.0

Beta  

Props that are injected to the ControlledTreeWithModelSource HOC component.

Extends

Inherited methods

Name Inherited from Description
noDataRenderer(): ReactElement<any, string | JSXElementConstructor<any>> Optional Omit Custom renderer to be used when there is no data to show in tree.
onItemsRendered(items: RenderedItemsRange): void Optional Omit Callback that is invoked when rendered items range changes.
spinnerRenderer(): ReactElement<any, string | JSXElementConstructor<any>> Optional Omit Custom renderer to be used while root nodes is loading.
treeRenderer(props: TreeRendererProps): ReactElement<any, string | JSXElementConstructor<any>> Optional Omit Custom renderer to be used to render a tree.

Properties

Name Type Description
nodeLoader AbstractTreeNodeLoaderWithProvider<IPresentationTreeDataProvider> Model source used by ControlledTree.  

Inherited properties

Name Type Inherited from Description
className undefined | string Omit Custom CSS class name
descriptionsEnabled undefined | boolean Omit Specifies whether to show node description or not.
height undefined | number Omit Height of the tree renderer.
iconsEnabled undefined | boolean Omit Specifies whether to show node icon or not.
nodeHighlightingProps undefined | HighlightableTreeProps Omit Used to highlight matches when filtering tree.
selectionMode SelectionMode Omit Mode of nodes' selection in tree.
style undefined | CSSProperties Omit Custom CSS style properties
treeEvents TreeEvents Omit Tree events handler.
width undefined | number Omit Width of the tree renderer.

Defined in

Last Updated: 12 June, 2024