1金币
最佳答案了解了,您可以先使用以下代码移除所有的弹窗提示:
let workbook = designer.getWorkbook();
workbook.unbind(
GC.Spread.Sheets.Events.InvalidOperation + ".GC_Designer_Events"
);
然后再监听InvalidOperation事件去进行您自定义的操作:
//本示例使用InvalidOperation事件
activeSheet.bind(GC.Spread.Sheets.Events.InvalidOperation, function (e, info) {
alert("Message (" + info.mess ...
| |
| |
| |