您好:
该问题修复会导致跟SpreadJS新版本内部的逻辑产生冲突,目前有一个临时的解决办法就是:
- var worksheetPrototype = GC.Spread.Sheets.Worksheet.prototype, oldSetCsv = worksheetPrototype.setCsv;
- spread.bind(GC.Spread.Sheets.Events.ClipboardPasting, function (e, args) {
- worksheetPrototype.setCsv = function(row, column, text, rowDelimiter, columnDelimiter, flags, withoutCellDelimiter) {
- withoutCellDelimiter = false;
- oldSetCsv.apply(this, arguments);
- }
- });
- spread.bind(GC.Spread.Sheets.Events.ClipboardPasted, function (e, args) {
- worksheetPrototype.setCsv = oldSetCsv;
- });
复制代码
其中,withoutCellDelimiter是一个内部参数 |