F
Filamentβ€’2y ago
qcol

Grouping data in a table

I have a table where one of the columns is "group_id". Is there any way to customize the table display so that each group can be collapsed (collapsed by default)? Or if that's too cumbersome, highlight the table with alternating colours by group (striped rows).
4 Replies
Dan Harrin
Dan Harrinβ€’2y ago
unfortunately not in v2 we have already implemented this ready for v3
qcol
qcolOPβ€’2y ago
Thank you for the info. So, can't wait for v3 πŸ™‚
Dennis Koch
Dennis Kochβ€’2y ago
You can pass css classes based on the record though. I think it's getRecordClasses or similar on ListPage
Dan Harrin
Dan Harrinβ€’2y ago
You can do striped rows with isTableStriped(), should be in the docs i think
Want results from more Discord servers?
Add your server