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 selectedItems
prop to control selected Tree View items.
You can also use the onSelectedItemsChange
prop to listen to changes in the selected items and update the prop accordingly.
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Track item selection change
Use the onItemSelectionToggle
prop if you want to react to an item selection change:
No item selection recorded
- Data Grid
- Date and Time Pickers
- Charts
- Tree View