material_table_view icon indicating copy to clipboard operation
material_table_view copied to clipboard

ExpansionTile alternative for the table row

Open rjfjohnson opened this issue 10 months ago • 2 comments

Great project but is there any way to overcome the row wrapping restrictions?

Ideally, I would like to wrap the row in an ExpansionTile with title: containing the various cells, and then using the children: to return various related data.

Is there any prospect of achieving this with the current way that the table is being rendered?

rjfjohnson avatar Jan 29 '25 01:01 rjfjohnson

Personally, I don't see any way around those restrictions.

However, implementing some kind of alternative for the ExpansionTile widget specifically designed for this library is quite possible. Intrinsic row height (#25) would be needed as well.

I had similar ideas floating around for a while now, but I can't promise I'll have the time to spare on them. Let's keep this issue open.

NikolayNIK avatar Jan 29 '25 03:01 NikolayNIK

It is now somewhat possible with 5.1.0 (included in the demo) thanks to #25, although not as hassle free as you described (and animations require even more work). I've also created #33 which would allow the use of all widgets without exception.

In any way, fully functioning alternative for the ExpansionTile is still an idea, so I'm not closing this issue.

NikolayNIK avatar Feb 06 '25 08:02 NikolayNIK

ExpandableTableRow, a more barebone alternative for the ExpansionTile is now available in 5.5.0!

NikolayNIK avatar Jun 09 '25 13:06 NikolayNIK