GC.Spread.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(GC.Spread.Sheets.Events.SheetNameChanging, function (sender, args) { console.log(args.oldValue); }); spread.bind(GC.Spread.Sheets.Events.SheetNameChanged, function (sender, args) { console.log(args.newValue); });