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

Unbound checkbox column in child table

Thread ID:

Created:

Updated:

Platform:

Replies:

43884 May 6,2006 09:34 AM UTC May 9,2006 10:13 AM UTC WinForms 3
loading
Tags: GridControl
cheryl
Asked On May 6, 2006 09:34 AM UTC

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 7, 2006 12:27 AM UTC

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 10:07 AM UTC

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 10:13 AM UTC

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.

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

;