SpreadJS Documentation
isPaintSuspended Method
Whether to refresh the display automatically.
Gets or sets a property that indicates whether to refresh automatically or manually after changing Spread user interface settings.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.isPaintSuspended(value);
function isPaintSuspended( 
   value : boolean
) : Object;

Parameters

value
Whether to refresh the display automatically.

Return Value

true if the component refreshes the display automatically after changing settings; otherwise, false.
Example
This example uses the isPaintSuspended method.
spread.isPaintSuspended(true);
for(var i=0;i<100;i++){
activeSheet.setValue(i,0,"Row"+i);
}
spread.isPaintSuspended(false);
Remarks
The default value is false.
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.