|
@@ -436,11 +436,11 @@ $(document).ready(() => {
|
|
|
if (!readOnly) {
|
|
|
$('#add').click(materialExponentSpreadObj.add);
|
|
|
$('#del').click(materialExponentSpreadObj.del);
|
|
|
+ materialExponentSpread.bind(spreadNS.Events.SelectionChanged, materialExponentSpreadObj.selectionChanged);
|
|
|
+ materialExponentSpread.bind(spreadNS.Events.EditEnded, materialExponentSpreadObj.editEnded);
|
|
|
+ materialExponentSpread.bind(spreadNS.Events.ButtonClicked, materialExponentSpreadObj.buttonClicked);
|
|
|
+ materialExponentSpread.bind(spreadNS.Events.ClipboardPasted, materialExponentSpreadObj.clipboardPasted);
|
|
|
if (!editForAudit) {
|
|
|
- materialExponentSpread.bind(spreadNS.Events.SelectionChanged, materialExponentSpreadObj.selectionChanged);
|
|
|
- materialExponentSpread.bind(spreadNS.Events.EditEnded, materialExponentSpreadObj.editEnded);
|
|
|
- materialExponentSpread.bind(spreadNS.Events.ButtonClicked, materialExponentSpreadObj.buttonClicked);
|
|
|
- materialExponentSpread.bind(spreadNS.Events.ClipboardPasted, materialExponentSpreadObj.clipboardPasted);
|
|
|
SpreadJsObj.addDeleteBind(materialExponentSpread, materialExponentSpreadObj.deletePress);
|
|
|
// 右键菜单
|
|
|
$.contextMenu({
|