Examples
Expanding Parsed Tree Example
A Shadcn Table example demonstrating expandable sub-rows in a tree structure parsed from a flat list of data
Shadcn Table supports showing rows in a expanding tree structure and parsing them from a flat data structure with the getSubRows option. Learn more about how to customize this in the expanding sub-rows feature guide.
Try it
- Click the arrow on Henry Lynch. The people who report to him show below.
- Click
Expand allin the header. Every level opens.