Ver código fonte

列设置界面调整

MaiXinRong 7 anos atrás
pai
commit
549469fcad
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      web/building_saas/main/js/views/main_tree_col.js

+ 2 - 0
web/building_saas/main/js/views/main_tree_col.js

@@ -115,6 +115,8 @@ let colSettingObj = {
         sheet.setColumnCount(setting.headRows, GC.Spread.Sheets.SheetArea.rowHeader);
         sheet.setColumnCount(1);
         sheet.getRange(-1, 0, -1, 1).cellType(this.checkBox).hAlign(GC.Spread.Sheets.HorizontalAlign.center);
+        sheet.getCell(0, 0, GC.Spread.Sheets.SheetArea.colHeader).value('显示');
+        sheet.setColumnWidth(0, 300);
 
         setting.cols.forEach(function (col, index) {
             let i, iCol = 0, cell;