Category / Section
How to show the formula in a cell on activating the cell in WinForms GridControl?
1 min read
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.
C#
this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell; GridFormulaCellRenderer.ForceEditWhenActivated = false;
VB
Me.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell GridFormulaCellRenderer.ForceEditWhenActivated = False
Screen shot
Samples:
Reference link: https://help.syncfusion.com/windowsforms/grid-control/formula-support