SpreadJS Documentation
EditorStatusChanged Event
The sheet that triggered the event.
The sheet's name.
The old status of editor.
The new status of editor.
Occurs when editor's status has changed.
Syntax
var instance; // Type: Events
instance.EditorStatusChanged = function(sheet, sheetName, oldStatus, newStatus) { };
EditorStatusChanged = function ( 
   sheet : Sheet,
   sheetName : string,
   oldStatus : EditorStatus,
   newStatus : EditorStatus
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
oldStatus
The old status of editor.
newStatus
The new status of editor.
Example
This example uses the EditorStatusChanged event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.EditorStatusChanged, function (e, info) {    
        alert("Column (" + info.newStatus + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.