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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I need to have multiple child grids in GridGroupingControl.

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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
Aditya



Sample_98818c0.zip

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

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:


http://websamples.syncfusion.com/samples/Grid.Windows/Grid_WF_GGCMultiChildTableI48002/main.htm

Please let me know if you need any further assistance.

Regards,
Jisha



Aditya Pawar
Replied On October 14, 2008 01:48 PM UTC

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.

Thanks
Aditya Pawar


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

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.

Regards,
Raji


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

;