SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / isDirtySuspended Method
In This Topic
    isDirtySuspended Method
    In This Topic
    Gets whether recording the dirty data is suspended.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: boolean
    value = instance.isDirtySuspended();
    function isDirtySuspended() : boolean;

    Return Value

    Whether the dirty data is suspended.
    Example
    //This example uses the isDirtySuspended 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