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.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

84766 Jul 2,2009 12:16 PM UTC Jul 6,2009 03:10 PM UTC Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 2, 2009 12:16 PM UTC

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 01:41 PM UTC

Someone please?

Administrator [Syncfusion]
Replied On July 6, 2009 12:25 PM UTC

someone?

Lingaraj S [Syncfusion]
Replied On July 6, 2009 03:10 PM UTC

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.

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

;