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 - column identity in TableControlCellHitTest

Thread ID:





60496 May 7,2007 07:24 AM May 7,2007 01:48 PM Windows Forms 1
Tags: GridControl
Ryan Hardoon
Asked On May 7, 2007 07:24 AM


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 01:48 PM

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.

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.