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.

GGC and TableControlCheckBoxClick Event

Thread ID:

Created:

Updated:

Platform:

Replies:

48325 Aug 24,2006 10:58 AM Aug 25,2006 01:59 AM Windows Forms 1
loading
Tags: Grouping
John Slater
Asked On August 24, 2006 10:58 AM

I have checkbox''s in both parent and child tables. Unless I first select the row with the checkbox, before clicking on the checkbox, I''m not getting the correct row. If there is no current row indicated (which occurs after clicking on the plus/minus) the DisplayElementKind is set to AddNewRecord in the eventhandler. If there is a current row indicated, and I click on a different row''s checkbox, I get the CurrentRow''s record, not the one I clicked on.
thx

Administrator [Syncfusion]
Replied On August 25, 2006 01:59 AM

Hi JMS,

Try thiscode to get a record.

//TableControlCheckBoxClick event
Record rec = e.TableControl.Table.DisplayElements[e.Inner.RowIndex].ParentRecord;
if( rec != null)
Console.WriteLine(rec.Info);

Thanks,
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.

;