================================================
产品版本: SpreadJS V10 (10.0.1)
浏览器版本: FireFox ESR 45.5.1
问题描述: copyTo 方法执行后只复制了一行样式
关键代码:
- var startRow = 7;
- var startCol = 0;
- var rowCount = 10;
- var colCount = sheet.getColumnCount() - 1;
- sheet.addRows(startRow + 1, rowCount);
- sheet.copyTo(startRow, startCol, startRow + 1, startCol, rowCount, colCount, GC.Spread.Sheets.CopyToOptions.style | GC.Spread.Sheets.CopyToOptions.span);
复制代码
使用截图:
================================================
|
|