|
@@ -847,6 +847,9 @@ $(document).ready(() => {
|
|
|
});
|
|
|
|
|
|
const stageTreeSpreadObj = {
|
|
|
+ cut: function (sheet, sel, callback) {
|
|
|
+ callback(true);
|
|
|
+ },
|
|
|
loadExprToInput(sheet) {
|
|
|
const sel = sheet.getSelections()[0];
|
|
|
const col = sheet.zh_setting.cols[sel.col], cell = sheet.getCell(sel.row, sel.col);
|
|
@@ -1396,6 +1399,7 @@ $(document).ready(() => {
|
|
|
slSpread.bind(spreadNS.Events.TopRowChanged, stageTreeSpreadObj.topRowChanged);
|
|
|
slSpread.bind(spreadNS.Events.EditStarting, stageTreeSpreadObj.editStarting);
|
|
|
slSpread.bind(spreadNS.Events.ButtonClicked, stageTreeSpreadObj.buttonClicked);
|
|
|
+ SpreadJsObj.addCutEvents(slSpread, stageTreeSpreadObj.cut);
|
|
|
SpreadJsObj.addDeleteBind(slSpread, stageTreeSpreadObj.deletePress);
|
|
|
if (!readOnly) {
|
|
|
$('#bills-expr').bind('change onblur', function () {
|