SpreadJS Documentation
InvalidOperation Event
GC.Spread.Sheets Namespace > Events type : InvalidOperation Event
The sheet that triggered the event.
The sheet's name.
Indicates which operation was invalid.
The description of the invalid operation.
Occurs when an invalid operation is performed.
Syntax
var instance; // Type: Events
instance.InvalidOperation = function(sheet, sheetName, invalidType, message) { };
InvalidOperation = function ( 
   sheet : Worksheet,
   sheetName : string,
   invalidType : InvalidOperationType,
   message : string
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
invalidType
Indicates which operation was invalid.
message
The description of the invalid operation.
Example
This example uses the InvalidOperation event.
activeSheet.bind(GC.Spread.Sheets.Events.InvalidOperation, function (e, info) {    
        alert("Message (" + info.message + ")");
});
See Also

Reference

Events type