SpreadJS Documentation
suspendPaint Method
GC.Spread.Sheets Namespace > Worksheet type : suspendPaint Method
Suspends the paint.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.suspendPaint();
function suspendPaint() : any;
Example
This example repaints a sheet.
activeSheet.suspendPaint();
for(var i=0;i<100;i++){
activeSheet.setValue(i,0,"Row"+i);
}
activeSheet.resumePaint();
Remarks

The default value is false.

If the sheet's parent (a Spread or Canvas) exists, the sheet inherits this setting from the parent.

See Also

Reference

Worksheet type