I am using GridControl (22.214.171.124) to display some static (readonly) data. My grid has some floating cells. When I click on any floating text, the text is hidden in the "CurrentCell". Is there something I can do to avoid this? As the user can re-arrange the columns at runtime, it is not easy to have CoveredRanges in my code.
Run the FloatingCells sample and click in C3 cell. In my case, the user can not edit the text in C3, so I don''t want the text to be hidden there.
ADAdministrator Syncfusion Team January 29, 2004 12:01 PM
In that sample you can prevent cell C3 from becoming editing by cancelling teh CurrentCellStartEditing.
private void gridControl1_CurrentCellStartEditing(object sender, CancelEventArgs e)
GridCurrentCell cc = this.gridControl1.CurrentCell;
if(cc.RowIndex == 3 && cc.ColIndex == 3)
e.Cancel = true;
ADAdministrator Syncfusion Team January 29, 2004 03:31 PM
This is exactly what I was looking for.