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.
Unfortunately, activation email could not send to your email. Please try again.

Clicking on a floating cell hides the text

Thread ID:

Created:

Updated:

Platform:

Replies:

10323 Jan 29,2004 09:41 AM Jan 29,2004 03:31 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 29, 2004 09:41 AM

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

Administrator [Syncfusion]
Replied On 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; } }

Administrator [Syncfusion]
Replied On January 29, 2004 03:31 PM

Clay, This is exactly what I was looking for. thanks, - Reddy

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;