var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: any value = instance.resumeEvent();
function resumeEvent() : any;
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: any value = instance.resumeEvent();
function resumeEvent() : any;
// 次のサンプルコードは、イベントを一時停止して再開します。 activeSheet.bind(GC.Spread.Sheets.Events.CellChanged, function (sender, args) { if (args.propertyName === "value") { alert(activeSheet.getValue(args.row, args.col)); } }); activeSheet.suspendEvent(); activeSheet.setValue(0, 0, "111"); activeSheet.resumeEvent(); activeSheet.setValue(1, 1, "222");
activeSheet.bind(GC.Spread.Sheets.Events.CellChanged, function (sender, args) { if (args.propertyName === "value") { alert(activeSheet.getValue(args.row, args.col)); } }); activeSheet.suspendEvent(); activeSheet.setValue(0, 0, "111"); activeSheet.resumeEvent(); activeSheet.setValue(1, 1, "222");