F
Filament2y 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 Harrin2y ago
unfortunately not in v2 we have already implemented this ready for v3
qcol
qcolOP2y ago
Thank you for the info. So, can't wait for v3 🙂
Dennis Koch
Dennis Koch2y ago
You can pass css classes based on the record though. I think it's getRecordClasses or similar on ListPage
Dan Harrin
Dan Harrin2y ago
You can do striped rows with isTableStriped(), should be in the docs i think

Did you find this page helpful?