Examples
Column Grouping Example
A Shadcn Table example demonstrating different grouping UI modes.
Shadcn Table has a few different UI options and behaviors for displaying grouped columns. See the Column Grouping Guide to learn more.
Try it
- Pick
"remove". TheStateandGendercolumns leave the table; the groups stay. - Pick
false. The grouped columns stay in their own places. - Click
Genderand chooseUngroup by Gender. The rows group by state only.