GcSpread.Sheets Namespace > Spread type : resumeEvent Method |
var instance = new GcSpread.Sheets.Spread(host, options); var value; // Type: any value = instance.resumeEvent();
function resumeEvent() : any;
activeSheet.bind(GcSpread.Sheets.Events.CellChanged, function (sender, args) { if (args.propertyName === "value") { alert(activeSheet.getValue(args.row, args.col)); } }); spread.suspendEvent(); activeSheet.setValue(0, 0, "111"); spread.resumeEvent(); activeSheet.setValue(1, 1, "222");