Well, GridCell.Formula is indeed a read-only property, it is just used to get the formula of a cell. Please use:
GridCell.Value (property).........Gets or sets a cell value. If value is formula, the set method of this property will call GridDesktop.RunAllFormulas method automatic. So, if there are many formulas, using SetCellValue method instead of this property. SetCellValue method will enhance performance.
GridCell.SetCellValue() (method).............If the value is a formula,this method set cell's value as FormulaType, but not calculate formula. To calculate formula,need call GridDesktop.RunAllFormulas manually. If multi values to be set,call this method multi times, finally,call GridDesktop.RunAllFormulas method manually to calculate formulas. This is more effective.
1. Dim cell As GridCell = gridDesktop1.Worksheets(0).Cells(0,0)
'Setting the formula to the A1 cell from B2 cell and also automatically calculates it.
cell.Value = gridDesktop1.Worksheets(0).Cells(1, 1).Formula
2. Dim cell As GridCell = gridDesktop1.Worksheets(0).Cells(0,0)
'Setting the formula to A1 cell from B2 cell.
'Use this line if you also wants to calculate the formula.