GC.Spread.Sheets Namespace > Workbook type : suspendEvent Method |
var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: any value = instance.suspendEvent();
function suspendEvent() : any;
activeSheet.bind(GC.Spread.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");