GcSpread.Sheets Namespace > Sheet type : suspendCalcService Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: any value = instance.suspendCalcService(ignoreDirty);
function suspendCalcService( ignoreDirty : boolean ) : any;
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);