Simple Tree View - Selection
Learn how to enable item selection for the Tree View component.
Multi selection
Apply the multiSelect
prop on the Tree View to let users select multiple items.
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Controlled selection
Use the selectedNodes
prop to control selected Tree View items.
You can also use the onSelectedNodesChange
prop to listen to changes in the selected items and update the prop accordingly.
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Track node selection change
Use the onNodeSelectionToggle
prop if you want to react to a node selection change:
No node selection recorded
- Data Grid
- Date and Time Pickers
- Charts
- Tree View