Hi,
I am using GridControl (1.6.1.8) 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.
thanks,
- Reddy
AD
Administrator
Syncfusion Team
January 29, 2004 05:01 PM UTC
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;
}
}
AD
Administrator
Syncfusion Team
January 29, 2004 08:31 PM UTC
Clay,
This is exactly what I was looking for.
thanks,
- Reddy