SpreadJS 目前没有这个能力,但你可以自己写代码实现, 基本想法就是直接将当前Cell后面的Cell往前移,覆盖掉当前Cell就行
- var activeRow = sheet1.getActiveRowIndex();
- var activeColumn = sheet1.getActiveColumnIndex();
- sheet1.moveTo(activeRow, activeColumn + 1, activeRow, activeColumn, 1, sheet1.getColumnCount() - activeColumn - 1, $.wijmo.wijspread.CopyToOption.All);
复制代码 |