Articles in this section

How to show the formula in a cell when activating the cell in WinForms GridControl?

Show the formula in a cell


By default, the formula will be shown in a cell even if it is in edit mode. In order to show the formula in a cell when cell is activated, the ForceEditWhenActivated property can be set as False.


this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell;
GridFormulaCellRenderer.ForceEditWhenActivated = false;
Me.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell
GridFormulaCellRenderer.ForceEditWhenActivated = False

The screenshot below displays the formula cell on double click.

 

shows the formula in a cell


Samples:

C#: ActivateFormulaCell_CS

VB: ActivateFormulaCell_VB


Reference Link: Formula Support

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied