T
TanStack14mo ago
optimistic-gold

How to show multiple grouped cells on a single row?

A table with columns A. B, C, D E and grouped by A and B (potentially more). B is always 1 group under A. Currently a reorder|false groupedColumnMode will have a row for each group. The table always shows the expanded state using expanded: true.
1 Reply
optimistic-gold
optimistic-goldOP14mo ago
I think I need to provide my own getExpandedRowModel. CMIIW Yeah, I replaced the default exported getExpandedRowModel with my own. Basically the solution is to filter rows to max depth - 1 and adjust the rendering of the cells

Did you find this page helpful?