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

Edit Mode GGC

Thread ID:





62612 Jun 19,2007 12:14 PM UTC Jun 20,2007 09:29 PM UTC WinForms 3
Tags: GridControl
Asked On June 19, 2007 12:14 PM UTC


currently a grid cell changes to the edit mode if a user clicks in a cell with a mouse click. Now i want to change this behavior. I want to select the cell when the user clicks on it with the mouse and switch to the edit mode if a user presses a key on the keyboard. Is this possible?


haneefm [Syncfusion]
Replied On June 19, 2007 03:02 PM UTC

Hi Chris,

You can try setting the property ActivateCurrentCellBehavior to None.

gridGroupingControl1.TableModel.Options.ActivateCurrentCellBehavior = GridCellActivateAction.None;

This None setting means that clicking on a cell does not activate it. You can activate the cell by pressing any one of the key.

Best regards,

Replied On June 20, 2007 07:26 AM UTC

Hi Haneef,

this works fine for the default cell types. I have a custom cell renderer and model inherited from GridComboboxCellRenderer / Model.

The problem here is that even if I set the GridCellActivateAction to "None" the DropDownPart shows up when I click on that cell. How can I get the same behavior for this cell types?

haneefm [Syncfusion]
Replied On June 20, 2007 09:29 PM UTC

Hi Chris,

You need to set the SupportsFocusControl property in your custom cell renderer (which is derived from GridComboBoxCellRender) class. Below is a code snippet

this.SupportsFocusControl = true;

Best regards,


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

This page will automatically be redirected to the 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