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.
Syncfusion Feedback

From the TableControlCellClick event, how do I get the columnname when the row is a GridCaptionSection

Thread ID:





55258 Jan 25,2007 07:15 PM UTC Jan 29,2007 09:47 AM UTC Windows Forms 1
Tags: Grouping
James Blibo
Asked On January 25, 2007 07:15 PM UTC

From the TableControlCellClick event, how do I get the columnname when the row is a GridCaptionSection. I noticed that the Column property of the style.TableIdentityInfo object is null when the row is a GridCaptionSection.

Administrator [Syncfusion]
Replied On January 29, 2007 09:47 AM UTC

Hi James,

Thanks for being patience.

The reason TableIdentity.Column being null is that the caption section is not with respective to columns and it is possible to get only the GroupedColumn and SummaryColumn name. The following is the code snippet.
//TableControlCellClick event
GridTableCellStyleInfo style = e.TableControl.Table.TableModel[e.Inner.RowIndex, e.Inner.ColIndex];
if (style.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionSummaryCell)
GridSummaryColumnDescriptor columnName = style.TableCellIdentity.SummaryColumn;
if(columnName != null)

Kindly let us know if you need any further assistance.
Have a nice day.

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.

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