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.

Nested tables in GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

32319 Jul 27,2005 04:17 AM Jul 28,2005 08:06 AM Windows Forms 5
loading
Tags: GridControl
Prathima Venkobachar
Asked On July 27, 2005 04:17 AM

Hi, I want to implement nested table functionality in gridGroupingControl. Where can I get a documentation on this..? I went through the documentation section, but could not find much information on this topic.. Thanks, Prathima

Administrator [Syncfusion]
Replied On July 27, 2005 04:35 AM

Here is a simple sample using a DataSet with relations defined. http://www.syncfusion.com/Support/user/uploads/GGC_NestedTables_44e6c7df.zip We also ship other samples. Here are 2 paths: \Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Grouping\HierarchySample \Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Grouping\HierarchyView If you want to use non-DataSet datasources, then that is possible as well. Here is a forum thread with a sample. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=27582

Prathima Venkobachar
Replied On July 28, 2005 06:12 AM

Thanks for the information.It helped a lot !! I want to set width of the child table as the parent table. How can I do this..? Also in my child table I don''t want to have row headers.At present it is taking by default the column names that is there in the datatable. Thanks, Prathima

Administrator [Syncfusion]
Replied On July 28, 2005 07:29 AM

Currently, there are no properties that do this. You will have to access the Width property of the GridColumnsDescriptors to manage setting the columns widths to make the columns end at the same place. Here is a sample that makes the child table end where the parent table ends. It does it by explicitly setting the column width of the last visible column in the child table. http://www.syncfusion.com/Support/user/uploads/GGC_NestedTables_f0fd3c72.zip To turn off the column headers in teh child tables, you can use: this.gridGroupingControl1.NestedTableGroupOptions.ShowColumnHeaders = false;

Prathima Venkobachar
Replied On July 28, 2005 07:37 AM

Thanks I will look into it. If there are no record in the child table for that row in the parent table, I don''t want to show + sign.It should look like a normal row.Only when there is a record it should show + sign. Currently it adds a empty row in the the child table. How can I do this..? Thanks, Prathima

Administrator [Syncfusion]
Replied On July 28, 2005 08:06 AM

Here is a forum thread on this. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25539

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.

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.

;