AD
Administrator
Syncfusion Team
September 14, 2004 01:43 PM UTC
In your formload (or after setting the initial values where ever you do it), try calling engine.RecalculateRange to force the calculations to be done initially.
''recalculate cell 1,1
Dim engine As GridFormulaEngine = CType(grid.CellModels("FormulaCell"), GridFormulaCellModel).Engine
engine.RecalculateRange(GridRangeInfo.Cell(1,1), True)
JE
jennifer
September 14, 2004 03:09 PM UTC
Thanks for your suggestion. Unfortuanately I was not able to use RecalculateRange. It was not a member of the GridFormulaEngine object. (Maybe because of my version) But your suggestion did get me far enough that I found Refresh(string) and was able to use that successfully.
Thanks again.
-Jennifer