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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Show different columns in nested tables depending on parent row type

Thread ID:

Created:

Updated:

Platform:

Replies:

51076 Oct 26,2006 09:43 PM Oct 26,2006 09:46 PM Windows Forms 1
loading
Tags: GridControl
Gary Hsu
Asked On October 26, 2006 09:43 PM

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.


Gary Hsu
Replied On October 26, 2006 09:46 PM

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|

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;