SpreadJS 14
GC.Spread.Sheets Namespace / InvalidOperationType Enumeration
In This Topic
    InvalidOperationType Enumeration
    In This Topic
    Identifies which operation was invalid.
    Members
    MemberDescription
    changePartOfArrayFormulaSpecifies the insert row is invalid.
    changeSheetNameSpecifies the changed sheet name is invalid.
    copyPasteSpecifies the copy paste is invalid.
    dragDropSpecifies the drag drop is invalid.
    dragFillSpecifies the drag fill is invalid.
    groupProtectedSpecifies the group can expand and collapse when sheet is unprotected.
    pivotTableSpecifies the change affect existed pivot table.
    ptOverlapValueSpecifies the pivotTable change will overlap the valued cell.
    setFormulaSpecifes the formula is invalid.
    Example
    This example gets the invalid type.
    activeSheet.getCell(1,1).locked(true);
    activeSheet.options.isProtected = true;
    activeSheet.getCell(1,1).value(2);
    
    activeSheet.bind(GC.Spread.Sheets.Events.InvalidOperation, function (e, info) {    
            alert("Message (" + info.invalidType + ")");
    });
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.InvalidOperationType

    See Also