소스 검색

名称列宽度可调

MaiXinRong 5 년 전
부모
커밋
29d62ef537
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/public/report/js/rpt_custom.js

+ 1 - 0
app/public/report/js/rpt_custom.js

@@ -188,6 +188,7 @@ const rptCustomObj = (function () {
         grSpreadSetting.cols = [];
         for (const bc of grSpreadSetting.baseCols) {
             grSpreadSetting.cols.push(bc);
+            if (bc.field === 'name') bc.width = gsSetting.nameColWidth ? gsSetting.nameColWidth : 180;
         }
         if (gsSetting.special) {
             for (const s of gsSetting.special) {