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.
Syncfusion Feedback

Remove edit cursor from readonly grid

Thread ID:

Created:

Updated:

Platform:

Replies:

34743 Sep 15,2005 09:28 AM UTC Sep 16,2005 03:45 AM UTC Windows Forms 4
loading
Tags: GridControl
Will Knoll
Asked On September 15, 2005 09:28 AM UTC

I''m trying to duplicate a small bit of functionality that I see in the CellTypes Quick Start sample, but I cannot figure out what property to set. In the CellTypes Quick Start sample, whenever a cell is clicked on, it becomes active but the blinking | curser does not appear in the cell. I noticed this is the same for all cells, static or not. I have a DataBoundGrid which I have set to read only, however whenever I click on a cell it still places the edit cursor in there, but changes cannot be made. Can someone please point me to how I can get that cursor to not appear?

Administrator [Syncfusion]
Replied On September 15, 2005 11:16 AM UTC

Hi Will, You could try this and see if this helps: gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.None; For the Quick start ---CellTypes sample it was set like this. gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell; Let us know if this helps. Best Regards, Jeba.

Will Knoll
Replied On September 15, 2005 06:24 PM UTC

Thank you Jeba, that works perfect! While I''m on a roll, is there also a way to turn off the dotted rectangle which shows the active cell? Will

Will Knoll
Replied On September 15, 2005 07:01 PM UTC

Nevermind on that I found it. :) this.gridControl1.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.HideAlways; Will

Administrator [Syncfusion]
Replied On September 16, 2005 03:45 AM UTC

Hi Will, Thanks for the update.Please feel free to contact us if you have any other concerns. Thanks for choosing Syncfusion Products. Best Regards, Jeba.

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.

Warning Icon 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.Close Icon

;