From 9e52f6b29b462695d8ad53e3a5de83dcfc1c7a8f Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 20 Sep 2023 13:13:04 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=A6=AC=EB=93=9C=20=EC=BB=AC?= =?UTF-8?q?=EB=9F=BC=20=EB=B0=B0=EA=B2=BD=EC=83=89=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 11 +++++++---- .../resources/css/fims/framework/common/xit-core.css | 4 ++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index 747a8ad6..ef34af8d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -143,7 +143,7 @@ style="overflow-x: scroll;height:500px;overflow-y: scroll;"> - + @@ -343,6 +343,8 @@ $(document).ready(function(){ renderForTask("frmSearch--${pageName}", clsForTask); //업무별 그리드 + $("#DataTables_Table_0--${pageName}").find("th").resizable( "destroy" ); + var colsContent = document.getElementById("crdnCols--${pageName}").content; var cols = $(colsContent).find("."+clsForTask+",.cmn"); var colsStr = ""; @@ -350,6 +352,8 @@ $(document).ready(function(){ colsStr += this.outerHTML; }); $("#crdnThead--${pageName}").html(colsStr); + + $("#DataTables_Table_0--${pageName}").find("th").resizable({handles : "e"}); } $P.refreshCrdnList = () => { @@ -468,7 +472,7 @@ $(document).ready(function(){ $('#btnReset--${pageName}').on('click', () => $P.fnReset()); $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); $("#table-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); }); - + /************************************************************************** * 초기화 **************************************************************************/ @@ -480,8 +484,7 @@ $(document).ready(function(){ $P.fnResetAndChangeBiz(defaultBizValue); fn_securityModeToggle($("#securityMode--top").is(":checked")); //보안모드 - - $("#DataTables_Table_0--${pageName}").find("th").resizable({handles : "e"}); + }); diff --git a/src/main/webapp/resources/css/fims/framework/common/xit-core.css b/src/main/webapp/resources/css/fims/framework/common/xit-core.css index 258e85c1..1a197c49 100644 --- a/src/main/webapp/resources/css/fims/framework/common/xit-core.css +++ b/src/main/webapp/resources/css/fims/framework/common/xit-core.css @@ -1939,6 +1939,10 @@ progress { /* 그리드 테이블 */ /* 그리드 테이블 공통 */ +.dataTable thead{ + background-color:#FCFDFD; +} + .dataTable th{ text-align: center; }