GcSpread.Sheets Namespace > Events type : SheetNameChanging Event |
var instance; // Type: Events instance.SheetNameChanging = function(sheet, oldValue, newValue, cancel) { };
// Use IE to see the console log text spread.bind(GcSpread.Sheets.Events.SheetNameChanging, function (sender, args) { console.log(args.oldValue); }); spread.bind(GcSpread.Sheets.Events.SheetNameChanged, function (sender, args) { console.log(args.newValue); });