SpreadJS Documentation
ActiveSheetChanged Event
The old sheet.
The new sheet.
Occurs when the user has changed the active sheet.
Syntax
var instance; // Type: Events
instance.ActiveSheetChanged = function(oldSheet, newSheet) { };
ActiveSheetChanged = function ( 
   oldSheet : Sheet,
   newSheet : Sheet
) { };

Parameters

oldSheet
The old sheet.
newSheet
The new sheet.
Example
This example creates log text for the ActiveSheetChanged event.
// Use IE to see the console log text
spread.bind(GcSpread.Sheets.Events.ActiveSheetChanged, function (sender, args) {
    console.log("Active sheet has been switched.");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.