We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Clicking on a floating cell hides the text

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

2 Replies

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

Loader.
Live Chat Icon For mobile
Up arrow icon