var instance; // Type: Events instance.ActiveSheetChanging = function(oldSheet, newSheet, cancel) { };
Parameters
- oldSheet
- The old sheet.
- newSheet
- The new sheet.
- cancel
- A value that indicates whether the operation should be canceled.
var instance; // Type: Events instance.ActiveSheetChanging = function(oldSheet, newSheet, cancel) { };
spread.bind(GC.Spread.Sheets.Events.ActiveSheetChanging, function (sender, args) { //Cancel sheet switching. args.cancel = true; });