Item template columns in child rows

Afternoon,
I have a GridGroupingControl on an aspx page. I’ve added a ItemTemplate column so I can link to another page to edit the details of that parent row. This row has too many data fields to have the user edit them in the grid. Each parent row has many child rows in which I need to be able to add an ItemTemplate column to as well for editing the details of the child records. Like the parent row, the child row also has too many data fields to have the user edit them in the grid. I have searched the forums and the help and can’t see a way to do this. Is this possible?

Using VS 2005 and .Net 2.0

Thanks,
Dave

2 Replies

GB Gokul B Syncfusion Team April 4, 2007 01:11 AM UTC

Hi Dave,

Attached is the sample in which the 2 tables are added to the grid's data source list and then relationship between the 2 tables defined in code.

Adding Template to Child table

In our sample, each and every parent row contains collection of child row and Itemtemplate has been to added to the ShipAddress of the Childtable using QueryInfoStyle event.

Please have a look at our sample and Let us know if it helps.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B


DA David April 4, 2007 12:21 PM UTC

Gokulkumar.B
Thanks for your response to my query. I modified the QueryCellStyleInfo event to add a hyperlink and all is well.

Thanks so much for for a wonderful tool and the great support you offer.
Dave

>Hi Dave,

Attached is the sample in which the 2 tables are added to the grid's data source list and then relationship between the 2 tables defined in code.

Adding Template to Child table

In our sample, each and every parent row contains collection of child row and Itemtemplate has been to added to the ShipAddress of the Childtable using QueryInfoStyle event.

Please have a look at our sample and Let us know if it helps.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B

Loader.
Up arrow icon