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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent edit mode for cell click?

Thread ID:





83345 Jun 24,2009 08:04 PM UTC Jun 25,2009 10:51 AM UTC WinForms 1
Tags: GridControl
Aaron Schaefer
Asked On June 24, 2009 08:04 PM UTC

I'm wondering if there's a way to prevent the cell from immediately going into edit mode when the user clicks the cell. I would like the cell to become the current cell when cliekced, but not immediately go into edit mode. This makes it easier for the user to CTRL+C then CTRL+V.



Lingaraj S [Syncfusion]
Replied On June 25, 2009 10:51 AM UTC

Hi Aaron,

Thank you for your interest in Syncfusion product.

The GridControl is default cell activation in single click, so the cell goes to edit mode when the cell click has been performed in GridControl. If you want to prevent the edit mode in click, then please try using ActivateCurrentCellBehavior property in options to achieve this behavior. If the ActivateCurrentCellBehavior set to GridCellActivateAction.DblClickOnCell, then it will go to edit mode, when the double click has been performed in GridControl cell.

Refer the code below:

this.gridControl1.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell;

Please let me know if you have any queries.

Lingaraj S.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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