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. (Last updated on: November 16, 2018).
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 27,2006 01:43 AM UTC Oct 27,2006 01:46 AM UTC WinForms 1
loading
Tags: GridControl
Gary Hsu
Asked On October 27, 2006 01:43 AM UTC

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 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|

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;