Related to my other post, but I am trying to understand tables and subtables and some of the cool things I might do with that. I like the example you have in the LiveDemo, and I want something like that but with my data, and what I want to do, I don't see the best way to accomplish what I want.
So I have a List to display in the table. But like this
________________________________ |Name | Time | Status | ________________________________ | a | 10PM | Success | | b | 11PM | Failure | | c | 12AM | Success | | d | 1AM | Failure | | e | 2AM | Success | ________________________________
But the Failure is a link to expand a Toggle panel so it looks like this
________________________________ |Name | Time | Status | ________________________________ | a | 10PM | Success | | b | 11PM | Failure | |b failed because I just didn't| | like b and thought this would| | piss b off | | c | 12AM | Success | | d | 1AM | Failure | | e | 2AM | Success | ________________________________
One of the problems I see is that the String for the message is in the same "record" as the row. Meaning there isn't a List of List for the main table, so the inner list can be used in a subtable.
Is there a way to use the main List in both the main and subtable at the same time?
Is there a sweet solution I am not seeing?
I am no longer using SubTables to get this to sort of work. I get what I need, except the TogglePanel "row" which is part of a column group that spans my three columns, is always showing, I want it to not show anything in the row if it is not toggled open. Right now it takes 3-4 pixels in height when it is closed and looks very awkward.
value value value
value value value
That gap where the "<------" is is what I want gone.