Spread.Sheets Documentation
ActiveSheetChanged Event
GC.Spread.Sheets Namespace > Events type : 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 : Worksheet,
   newSheet : Worksheet
) { };

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(GC.Spread.Sheets.Events.ActiveSheetChanged, function (sender, args) {
    console.log("Active sheet has been switched.");
});
See Also

Reference

Events type