GC.Spread.Sheets 名前空間 > Events タイプ : SheetNameChanging イベント |
Javascript (Usage) | |
---|---|
var instance; // Type: Events instance.SheetNameChanging = function(sheet, oldValue, newValue, cancel) { }; |
Javascript (Specification) | |
---|---|
SheetNameChanging = function ( sheet : Worksheet, oldValue : string, newValue : string, cancel : boolean ) { }; |
// 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); });