AD
Administrator
Syncfusion Team
February 24, 2007 01:35 AM UTC
Hi,
Please refer to the following forum thread discusses the technique to retrieve the column name for the current cell being clicked. You can handle the same logic any cell events to retrieve the column name.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=55258
Kindly let us know if you need any further assistance.
Have a nice day.
Best regards,
Madhan
AD
Administrator
Syncfusion Team
February 24, 2007 01:44 AM UTC
Hi,
Try the below code, this will help you.
GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell;
GridTableCellStyleInfo style = this.gridGroupingControl1.TableControl.GetTableViewStyleInfo(cc.RowIndex, cc.ColIndex);
Console.WriteLine( style.TableCellIdentity.Column.Name );
Regards,
Rajagopal