Rich Tree View - Selection
Handle how users can select items.
Multi selection
The Tree View also supports multi-selection:
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Press Enter to start editing
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Press Enter to start editing
Controlled selection
Use the selectedNodes
prop to control the selected items.
You can 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
Press Enter to start editing
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
Press Enter to start editing