AD
Administrator
Syncfusion Team
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)
MessageBox.Show(columnName.Name);
}
>>>>>>>>>>>>>>>>>>>>>
Kindly let us know if you need any further assistance.
Have a nice day.
Best regards,
Madhan