SpreadJS Documentation
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 : Sheet,
   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.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.InvalidOperation, function (e, info) {    
        alert("Message (" + info.message + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.