Reputation: 2224
So what I want is this (Just the collapsible part):
With 2 differences.
I want it in a datatable
I want to make a custom button that will control whether or not they are collapsed
Is this possible if so is there a good example I can go off?
Upvotes: 0
Views: 5978
Reputation: 436
i would start by
dataTable
as you want it to look with the row fully 'expanded'panelGroup
panelGroup
panelGroup
for the rowSome component libraries have this. they call them 'expandible rows', some display the data in the row, some render the row(s) below the 'parent' one.
One issue that i found (in earlier versions) is that when you had the data display in a separate row and you had a paginator set to show a set rows to display, it would bump the last row(s) when expanding the requested row to expand. I don't know if that is still the case.
Upvotes: 1