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.

how to get the value of a row from child table (GGC)

Thread ID:

Created:

Updated:

Platform:

Replies:

84766 Jul 2,2009 08:16 AM Jul 6,2009 11:10 AM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 2, 2009 08:16 AM

Hi!
I would like how do I get the value of the row from a child table at runtime?
I built a relationship master/detail using GGC.


Thanks.

Ediberto Alves

Administrator [Syncfusion]
Replied On July 3, 2009 09:41 AM

Someone please?

Administrator [Syncfusion]
Replied On July 6, 2009 08:25 AM

someone?

Lingaraj S [Syncfusion]
Replied On July 6, 2009 11:10 AM

Hi Alves,

Thank you for your interest in Syncfusion product.

If you want to get the value from the ChildTable, then please try using GetTableModel method in GridGroupingControl to achieve this behavior. The GetTableModel method arguments with table name. It is return the model of the table.

Refer the code below:

GridTableModel mod = this.gridGroupingControl1.GetTableModel("MyChildTable");
if(mod!=null)
{
if(mod.Table.DisplayElements[5]!=null)
{
MessageBox.Show(mod.Table.DisplayElements[5].ToString());
}
}


Refer the sample in below link:
http://files.syncfusion.com/support/samples/Grid.Windows/forums/GetValuecell.zip

Please let me know if you have any queries.

Regards,
Lingaraj S.

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.

;