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
AD
Administrator
Syncfusion Team
July 27, 2005 08:35 AM UTC
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
PV
Prathima Venkobachar
July 28, 2005 10:12 AM UTC
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
AD
Administrator
Syncfusion Team
July 28, 2005 11:29 AM UTC
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;
PV
Prathima Venkobachar
July 28, 2005 11:37 AM UTC
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
AD
Administrator
Syncfusion Team
July 28, 2005 12:06 PM UTC
Here is a forum thread on this.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25539