SpreadJS Documentation
resumeCalcService Method
Specifies whether to recalculate all formulas.
Resumes the calculation service.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: any
value = instance.resumeCalcService(recalcAll);
function resumeCalcService( 
   recalcAll : boolean
) : any;

Parameters

recalcAll
Specifies whether to recalculate all formulas.
Example
This example uses the resumeCalcService method.
activeSheet.isPaintSuspended(true);
activeSheet.suspendCalcService(false);
activeSheet.setValue(0,0,1);
activeSheet.setValue(0,1,2);
activeSheet.setValue(0,2,10);
activeSheet.getCell(1,1).formula("=SUM(A1:C1)");
activeSheet.isPaintSuspended(true);
activeSheet.resumeCalcService(true);
activeSheet.isPaintSuspended(false);
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.