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

GGC and TableControlCheckBoxClick Event

Thread ID:

Created:

Updated:

Platform:

Replies:

48325 Aug 24,2006 02:58 PM UTC Aug 25,2006 05:59 AM UTC WinForms 1
loading
Tags: Grouping
John Slater
Asked On August 24, 2006 02:58 PM UTC

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 05:59 AM UTC

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.

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

;