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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ggc - column identity in TableControlCellHitTest

Thread ID:





60496 May 7,2007 11:24 AM UTC May 7,2007 05:48 PM UTC WinForms 1
Tags: GridControl
Ryan Hardoon
Asked On May 7, 2007 11:24 AM UTC


How do verify that the CheckBox control of a specific column was hit ?
(it has to be verified with the column name, since the columns-order is yet to be defined)

Thanks in advance.

haneefm [Syncfusion]
Replied On May 7, 2007 05:48 PM UTC

Hi Ryan,

You can try this code.

private void gridGroupingControl1_TableControlCellHitTest(object sender, GridTableControlCellHitTestEventArgs e)
GridTableCellStyleInfo style = e.TableControl.GetTableViewStyleInfo(e.Inner.RowIndex,e.Inner.ColIndex);
if( style != null && style.TableCellIdentity.Column != null )
Console.WriteLine( "CellType : " + style.CellType );
Console.WriteLine( "Column Name : " + style.TableCellIdentity.Column.Name );

Best regards,


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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