OptionalautoExpandParentWithSelectedChildren
autoExpandParentWithSelectedChildren?: boolean
autoScrollToLastSelected?: boolean
getNodeChildren
OptionalgetNodeDisplayChildrenCount
getNodeDisplayChildrenCount?: (node: TNode) => number Type Declaration
- (node: TNode): number
Returns number
OptionalgetNodeIcon
getNodeIcon?: ( node: TNode,) => | ForwardRefExoticComponent< SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>, > | FC<SVGProps<SVGSVGElement>> Type Declaration
- (
node: TNode,
):
| ForwardRefExoticComponent<
SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>,
>
| FC<SVGProps<SVGSVGElement>> Returns
| ForwardRefExoticComponent<
SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>,
>
| FC<SVGProps<SVGSVGElement>>
null by default
OptionalgetNodeMaxChildrenCount
getNodeMaxChildrenCount?: (node: TNode) => number Type Declaration
- (node: TNode): number
Returns number
getNodeParent
OptionalisNodeExpandable
isNodeExpandable?: (node: TNode) => boolean Type Declaration
- (node: TNode): boolean
Returns boolean
true by default
OptionalisNodeLoading
isNodeLoading?: (node: TNode) => boolean OptionalNodeActions
NodeActions?: (node: TNode) => Element Type Declaration
- (node: TNode): Element
Returns Element
nodes
OptionalonLoadMoreChildren
onLoadMoreChildren?: (node: TNode) => void Type Declaration
- (node: TNode): void
Returns void
OptionalonLoadMoreRootNodes
onLoadMoreRootNodes?: () => void
OptionalonNodeClick
OptionalonNodeCollapsed
onNodeCollapsed?: (node: TNode) => void Type Declaration
- (node: TNode): void
Returns void
OptionalonNodeExpanded
onNodeExpanded?: (node: TNode) => void Type Declaration
- (node: TNode): void
Returns void
OptionalselectedNodes
selectedNodes?: Set<string>
OptionalshowChildrenCountLabel
showChildrenCountLabel?: boolean
OptionalshowRootLoadMore
showRootLoadMore?: boolean
Optionalsx
sx?: { node?: SxProps; root?: SxProps }
Allow treeview to auto-expand when selecting nodes in 3D