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.

I need to have multiple child grids in GridGroupingControl.

Thread ID:





77092 Oct 13,2008 04:22 PM Oct 28,2008 01:05 PM ASP.NET Web Forms (Classic) 3
Tags: Grouping
Aditya Pawar
Asked On October 13, 2008 04:22 PM


I have attached an image of what I am looking for.

I was able to get one child grid, but I am looking for 3 child grids.
With each child grid having search functionality and few custom columns.

Thanks in advance


Jisha Joy [Syncfusion]
Replied On October 14, 2008 03:30 AM

Hi Aditya,

Thank you for using Syncfusion products.

You can have multiple childs for one parent table by creating and adding the relations.

Below is the code snippet:

DataSet ds = new DataSet();
ds.Tables.AddRange(new DataTable[] { parentTable, childTable, grandChildTable });

ds.Relations.Add(new DataRelation("ParentToChild", ds.Tables[0].Columns["parentID"], ds.Tables[1].Columns["ParentID"]));
ds.Relations.Add(new DataRelation("ChildToGrandChild", ds.Tables[0].Columns["parentID"], ds.Tables[2].Columns["ParentID"]));

this.gridGroupingControl1.DataSource = ds.Tables[0];

Here is a sample that illustrates the same for your reference:


Please let me know if you need any further assistance.


Aditya Pawar
Replied On October 14, 2008 09:48 AM

Thanks for the reply.

I was able to get multiple child grids.

But I am not able to have template column in the child grid, like having a check box or a link button.

Any help would be great.

Aditya Pawar

Rajarajeswari S [Syncfusion]
Replied On October 28, 2008 01:05 PM

Hi Aditya,

Thanks for using Syncfusion products.

Your DirectTrac Incident # 50761 has been updated. Could you please follow-up with that incident to get more information on this.



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.