請問,加入了如下Code,确实無法複制,但貼上时出現''clipboard changing, args: ', args',这一串字符是否能自己定义,如改成'複制功能已停用'
sheet.bind(GC.Spread.Sheets.Events.ClipboardChanging, function (e, args) {
//console.log('clipboard changing, args: ', args);
//alert('clipboard changing, args: xxxx', args);
args.cancel = true;
}); |