그리드 컬럼 배경색 추가

main
이범준 1 year ago
parent 89f64922b3
commit 9e52f6b29b

@ -143,7 +143,7 @@
style="overflow-x: scroll;height:500px;overflow-y: scroll;">
<table id="DataTables_Table_0--${pageName}"
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead class="sticky-thead bg-light">
<thead class="sticky-thead">
<tr id="crdnThead--${pageName}"
data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
@ -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 = () => {
@ -481,7 +485,6 @@ $(document).ready(function(){
fn_securityModeToggle($("#securityMode--top").is(":checked")); //보안모드
$("#DataTables_Table_0--${pageName}").find("th").resizable({handles : "e"});
});

@ -1939,6 +1939,10 @@ progress {
/* 그리드 테이블 */
/* 그리드 테이블 공통 */
.dataTable thead{
background-color:#FCFDFD;
}
.dataTable th{
text-align: center;
}

Loading…
Cancel
Save