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

Formula cell single click activate problems

Thread ID:

Created:

Updated:

Platform:

Replies:

40729 Feb 10,2006 07:49 PM UTC Feb 14,2006 03:43 PM UTC WinForms 2
loading
Tags: GridControl
jim
Asked On February 10, 2006 07:49 PM UTC

I''m having a problem with formula cells. I set all cells to be formula cells through the tablestyle property. The problem is that any time you click the mouse on a cell, the cell becomes active even if model.Options.ActivateCurrentCellBehavior is set to double-click. This means that you can''t clear a range of cells by selecting the range and pressing delete because as soon as you select the range, the top-left cell becomes active and the delete event goes to it and not the range. If you select a range or move the current cell using only the keyboard, then the cell does not auto-activate and you can clear the range using delete. How can I get formula cells to only activate on a double click? Thanks

Administrator [Syncfusion]
Replied On February 14, 2006 09:12 AM UTC

Hi Jim, To activate the CurrentCell on Double click, you need to set the property ForceEditwhenActivated to false and set the property ActiveCurrentCellBehavior is to GridCellActivateAction.DblClickOnCell. Here is a code snippet. this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell GridFormulaCellRenderer.ForceEditWhenActivated = false; Let us know if you need further assistance, Regards, Haneef

jim
Replied On February 14, 2006 03:43 PM UTC

That did the trick. Thanks!

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

;