rapid-spreadjs 1.0.169 → 1.0.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +21 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +21 -21
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1541,6 +1541,27 @@ const BusinessUtils = {
|
|
|
1541
1541
|
// 设置行不可见
|
|
1542
1542
|
sheet.setRowVisible(rowIndex, false);
|
|
1543
1543
|
});
|
|
1544
|
+
// // 处理单元格边框线的问题
|
|
1545
|
+
// const allRowIndex = orderByJson(unionJson(hasValueRows, noValueRows));
|
|
1546
|
+
// const rowRange = sheet.getRange(allRowIndex[0], 1, allRowIndex.length, 77);
|
|
1547
|
+
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.thin), { all: true });
|
|
1548
|
+
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.medium), {
|
|
1549
|
+
// left: true,
|
|
1550
|
+
// right: true,
|
|
1551
|
+
// top: false,
|
|
1552
|
+
// bottom: false,
|
|
1553
|
+
// });
|
|
1554
|
+
// 没有启用动态加载行的时候,将所有的行都显示出来
|
|
1555
|
+
if (!isEnable) {
|
|
1556
|
+
hasValueRows.forEach((rowIndex, index) => {
|
|
1557
|
+
// 设置行可见
|
|
1558
|
+
sheet.setRowVisible(rowIndex, true);
|
|
1559
|
+
});
|
|
1560
|
+
noValueRows.forEach((rowIndex) => {
|
|
1561
|
+
// 设置行可见
|
|
1562
|
+
sheet.setRowVisible(rowIndex, true);
|
|
1563
|
+
});
|
|
1564
|
+
}
|
|
1544
1565
|
/** 创建空白行单元格 */
|
|
1545
1566
|
const createBlackRowCell = () => {
|
|
1546
1567
|
// 工作表总高度
|
|
@@ -1625,27 +1646,6 @@ const BusinessUtils = {
|
|
|
1625
1646
|
}
|
|
1626
1647
|
};
|
|
1627
1648
|
createBlackRowCell();
|
|
1628
|
-
// // 处理单元格边框线的问题
|
|
1629
|
-
// const allRowIndex = orderByJson(unionJson(hasValueRows, noValueRows));
|
|
1630
|
-
// const rowRange = sheet.getRange(allRowIndex[0], 1, allRowIndex.length, 77);
|
|
1631
|
-
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.thin), { all: true });
|
|
1632
|
-
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.medium), {
|
|
1633
|
-
// left: true,
|
|
1634
|
-
// right: true,
|
|
1635
|
-
// top: false,
|
|
1636
|
-
// bottom: false,
|
|
1637
|
-
// });
|
|
1638
|
-
// 没有启用动态加载行的时候,将所有的行都显示出来
|
|
1639
|
-
if (!isEnable) {
|
|
1640
|
-
hasValueRows.forEach((rowIndex, index) => {
|
|
1641
|
-
// 设置行可见
|
|
1642
|
-
sheet.setRowVisible(rowIndex, true);
|
|
1643
|
-
});
|
|
1644
|
-
noValueRows.forEach((rowIndex) => {
|
|
1645
|
-
// 设置行可见
|
|
1646
|
-
sheet.setRowVisible(rowIndex, true);
|
|
1647
|
-
});
|
|
1648
|
-
}
|
|
1649
1649
|
// 恢复绘制
|
|
1650
1650
|
sheet.resumePaint();
|
|
1651
1651
|
// 执行绘制完成后的回调函数
|