5金币
最佳答案可以尝试在在设置边框前挂起绘制,绘制完成后再恢复绘制,例如
spread.suspendPaint();
var lineGray = new GC.Spread.Sheets.LineBorder('#000000', GC.Spread.Sheets.LineStyle.thin);
sheet.getRange(0, 0, jsonData.length, 25).setBorder(lineGray, {all:true});
spread.resumePaint();
| |
| |
| |
| |
| |