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.

Unbound checkbox column in child table

Thread ID:

Created:

Updated:

Platform:

Replies:

43884 May 6,2006 05:34 AM May 9,2006 06:13 AM Windows Forms 3
loading
Tags: GridControl
cheryl
Asked On May 6, 2006 05:34 AM

Hello…. I have added an unbound checkbox column to the main table and also to the child table in a gridgrouping control. Public Sub unboundField_QueryValue(ByVal sender As Object, ByVal e As FieldValueEventArgs) Dim RecordIndex As Integer = Me.GridGroupingControl1.Table.PrimaryKeySortedRecords.IndexOf(e.Record) The checkbox column works fine for the main table .However,For the child table, I am not able to do the same. Public Sub unboundField_QueryValue1(ByVal sender As Object, ByVal e As FieldValueEventArgs) Dim RecordIndexchild As Integer = Me.GridGroupingControl1.Table.RelatedTables(0).PrimaryKeySortedRecords.IndexOf(e.Record) What should RecordIndexchild be assigned to to get the proper row index? Please inform asap Thanx

Administrator [Syncfusion]
Replied On May 6, 2006 08:27 PM

Hi Cheryl, Please refer this forum thread: http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=42487 Best regards, Jay

cheryl
Replied On May 9, 2006 06:07 AM

hi Jay ....... the example u sent me was for a datatable .....im using 2 tables from a datasource and filling the adapter ......so kindly help for the same as i have tried evrything but PrimaryKeySorted Records is null for the child table ..... thanx >Hi Cheryl, >Please refer this forum thread: > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=42487 > >Best regards, >Jay

Administrator [Syncfusion]
Replied On May 9, 2006 06:13 AM

Hi Cheryl, Please refer this forum thread: http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=43936 Best Regards, Haneef

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.

;