I have a virtual grid that has the ActivateCurrentCellBehavior set to DblClickOnCell. However, when I make some of the cell to a MaskEdit CellType in the QueryCellInfo(..), than whenever I single click on the grid, the cell automatic turn into edit mode.
Can any one suggest a way to prevent the cell goes into edit mode?
ADAdministrator Syncfusion Team March 10, 2004 02:53 PM
This behavior has been changed in the 2.0 code base so this shoul dnot be a problem in 2.0.
In 220.127.116.11, if you don''t want to see the MaskEdit active, you can handle the CurrentCellStartEditing event and cancel it. But this would never let it be active. If you want to be able to activate it on a DoubleClick, then you would have to set some flag to allow this. Here are some code snippets.