Need Cell Type Value...

Hi, I''ve assigned a cell type for a respective column at the initialisation. eg. --- private void grdSecurityPrice_CellClick(object sender, GridCellClickEventArgs e) { if (e.MouseEventArgs.Button == MouseButtons.Right) { } } In the above cell click event of Grid I want get the Cell type value. Please help me out. Thanks & Regards, Sathish.

1 Reply

AD Administrator Syncfusion Team May 27, 2006 09:54 AM UTC

You can try code like: private void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { String cellType = this.gridControl1[e.RowIndex, e.ColIndex].CellType; Type cellValueType = this.gridControl1[e.RowIndex, e.ColIndex].CellValueType; Console.WriteLine("cellType {0} cellValueType {1}", cellType, cellValueType); }

Loader.
Up arrow icon