Simple Tree View - Expansion
Learn how to handle expanding and collapsing Tree View items.
Controlled expansion
Use the expandedItems
prop to control the expanded items.
You can also use the onExpandedItemsChange
prop to listen to changes in the expanded items and update the prop accordingly.
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Track item expansion change
Use the onItemExpansionToggle
prop to trigger an action upon an item being expanded.
No action recorded
- Data Grid
- Date and Time Pickers
- Charts
- Tree View