Spread.Sheets Documentation
suspendDirty Method
GC.Spread.Sheets Namespace > Worksheet type : suspendDirty Method
Suspends recording the dirty data.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.suspendDirty();
function suspendDirty() : any;
Example
//This example uses the suspendDirty method.
 var customers = [
               { ID: 0, Name: 'A', Info1: 'Info0' },
               { ID: 1, Name: 'B', Info1: 'Info1' },
               { ID: 2, Name: 'C', Info1: 'Info2' },
            ];
activeSheet.setDataSource(customers);
activeSheet.suspendDirty();
alert(activeSheet.isDirtySuspended());
activeSheet.resumeDirty();
alert(activeSheet.isDirtySuspended());
See Also

Reference

Worksheet type