We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Show different columns in nested tables depending on parent row type

Hello,

Using nested tables in GGC, is it possible to have each individual rows, depending on the row type, to have different child types and depth?

For example:
- If top-level row is of type "car", it should have one child table with X number of columns.
- If top-level row is of type “truck”, it should have a child table and a grand child table each with Y and Z number of columns.
- Notice, level two has different set of columns depending on row type.

Example:

|car1|
|passenger1|passenger2|
|car2|
|passenger1|passenger2|
|truck1|
|storage1|storage2|storage3|
|weight1|weight2|
|truck2|
|storage1|storage2|storage3|
|weight1|weight2|

Is this possible? Any suggestion is much appreciated. Thanks.


1 Reply

GH Gary Hsu October 27, 2006 01:46 AM UTC

The nested tables above didn't come out right, here it is again:

|car1|
-----|passenger1|passenger2|

|car2|
-----|passenger1|passenger2|

|truck1|
-----|storage1|storage2|storage3|
----------|weight1|weight2|

|truck2|
-----|storage1|storage2|storage3|
----------|weight1|weight2|

Loader.
Live Chat Icon For mobile
Up arrow icon