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.esm.js
CHANGED
|
@@ -1519,6 +1519,27 @@ const BusinessUtils = {
|
|
|
1519
1519
|
// 设置行不可见
|
|
1520
1520
|
sheet.setRowVisible(rowIndex, false);
|
|
1521
1521
|
});
|
|
1522
|
+
// // 处理单元格边框线的问题
|
|
1523
|
+
// const allRowIndex = orderByJson(unionJson(hasValueRows, noValueRows));
|
|
1524
|
+
// const rowRange = sheet.getRange(allRowIndex[0], 1, allRowIndex.length, 77);
|
|
1525
|
+
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.thin), { all: true });
|
|
1526
|
+
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.medium), {
|
|
1527
|
+
// left: true,
|
|
1528
|
+
// right: true,
|
|
1529
|
+
// top: false,
|
|
1530
|
+
// bottom: false,
|
|
1531
|
+
// });
|
|
1532
|
+
// 没有启用动态加载行的时候,将所有的行都显示出来
|
|
1533
|
+
if (!isEnable) {
|
|
1534
|
+
hasValueRows.forEach((rowIndex, index) => {
|
|
1535
|
+
// 设置行可见
|
|
1536
|
+
sheet.setRowVisible(rowIndex, true);
|
|
1537
|
+
});
|
|
1538
|
+
noValueRows.forEach((rowIndex) => {
|
|
1539
|
+
// 设置行可见
|
|
1540
|
+
sheet.setRowVisible(rowIndex, true);
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1522
1543
|
/** 创建空白行单元格 */
|
|
1523
1544
|
const createBlackRowCell = () => {
|
|
1524
1545
|
// 工作表总高度
|
|
@@ -1603,27 +1624,6 @@ const BusinessUtils = {
|
|
|
1603
1624
|
}
|
|
1604
1625
|
};
|
|
1605
1626
|
createBlackRowCell();
|
|
1606
|
-
// // 处理单元格边框线的问题
|
|
1607
|
-
// const allRowIndex = orderByJson(unionJson(hasValueRows, noValueRows));
|
|
1608
|
-
// const rowRange = sheet.getRange(allRowIndex[0], 1, allRowIndex.length, 77);
|
|
1609
|
-
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.thin), { all: true });
|
|
1610
|
-
// rowRange.setBorder(new GC.Spread.Sheets.LineBorder('#000', GC.Spread.Sheets.LineStyle.medium), {
|
|
1611
|
-
// left: true,
|
|
1612
|
-
// right: true,
|
|
1613
|
-
// top: false,
|
|
1614
|
-
// bottom: false,
|
|
1615
|
-
// });
|
|
1616
|
-
// 没有启用动态加载行的时候,将所有的行都显示出来
|
|
1617
|
-
if (!isEnable) {
|
|
1618
|
-
hasValueRows.forEach((rowIndex, index) => {
|
|
1619
|
-
// 设置行可见
|
|
1620
|
-
sheet.setRowVisible(rowIndex, true);
|
|
1621
|
-
});
|
|
1622
|
-
noValueRows.forEach((rowIndex) => {
|
|
1623
|
-
// 设置行可见
|
|
1624
|
-
sheet.setRowVisible(rowIndex, true);
|
|
1625
|
-
});
|
|
1626
|
-
}
|
|
1627
1627
|
// 恢复绘制
|
|
1628
1628
|
sheet.resumePaint();
|
|
1629
1629
|
// 执行绘制完成后的回调函数
|