--- src/main/webapp/WEB-INF/jsp/web/msgdata/include/msgDataIncludeExcel.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/include/msgDataIncludeExcel.jsp
... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 |
var $tableExcel = null; //엑셀입력 탭 |
| 12 | 12 |
var $tableError = null; //엑셀입력 탭 |
| 13 | 13 |
$(document).ready(function(){
|
| 14 |
- |
|
| 14 |
+ |
|
| 15 | 15 |
//Tabulator AJAX Data Loading |
| 16 | 16 |
$tableError = new Tabulator("#tabulator_error", {
|
| 17 | 17 |
height:"255px", |
... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 |
cell.getRow().toggleSelect(); |
| 50 | 50 |
} |
| 51 | 51 |
}, |
| 52 |
- {formatter:"rownum", align:"center" ,title:"No", hozAlign:"center", headerHozAlign:"center", width:40},
|
|
| 52 |
+ {formatter:"rownum", align:"center" ,title:"No", hozAlign:"center", headerHozAlign:"center", width:120},
|
|
| 53 | 53 |
{title:"A", field:"A", hozAlign:"center", headerHozAlign: "center", width:140, validator:["maxLength:100", "string"]},
|
| 54 | 54 |
{title:"B", field:"B", hozAlign:"center", headerHozAlign: "center", width:140, validator:["maxLength:100", "string"]},
|
| 55 | 55 |
{title:"C", field:"C", hozAlign:"center", headerHozAlign: "center", width:140, validator:["maxLength:100", "string"]},
|
... | ... | @@ -73,15 +73,17 @@ |
| 73 | 73 |
|
| 74 | 74 |
|
| 75 | 75 |
// 타뷸레이터 width값 변경 시 위에 select width 값 변경 |
| 76 |
- var titleArray = ["A","B","C","D","E","F"]; |
|
| 76 |
+ var titleArray = ["No","A","B","C","D","E","F"]; |
|
| 77 | 77 |
|
| 78 | 78 |
$tableExcel.on("columnWidth",function(column){
|
| 79 | 79 |
var titleIndex = titleArray.indexOf(column._column.definition.title); |
| 80 | 80 |
titleIndex += 1; |
| 81 |
+ |
|
| 81 | 82 |
if(titleIndex != 0){
|
| 82 | 83 |
$('.select_adr_hd>div').eq(titleIndex).css('width', column._column.width);
|
| 83 | 84 |
}else{
|
| 84 |
- $('.select_adr_hd>div').eq(0).css('width', column._column.width + 40);
|
|
| 85 |
+ $('.select_adr_hd>div').eq(0).css('width', column._column.width);
|
|
| 86 |
+ |
|
| 85 | 87 |
} |
| 86 | 88 |
}); |
| 87 | 89 |
|
... | ... | @@ -813,7 +815,8 @@ |
| 813 | 815 |
<div class="adr_excel" style="margin-top: 13px; overflow-x:auto;"> |
| 814 | 816 |
<!-- <div class="adr_excel" style="margin-top: 13px;"> --> |
| 815 | 817 |
<!-- thead --> |
| 816 |
- <div class="adr_hd select_adr_hd" data-group="tableExcel"> |
|
| 818 |
+ <div class="adr_hd select_adr_hd msg" data-group="tableExcel"> |
|
| 819 |
+ <div style="width: 100px;"></div> |
|
| 817 | 820 |
<div style="width: 100px;"></div> |
| 818 | 821 |
<div style="width: 140px;"> |
| 819 | 822 |
<label for="" class="label"></label> |
--- src/main/webapp/publish/css/popupLayer.css
+++ src/main/webapp/publish/css/popupLayer.css
... | ... | @@ -97,6 +97,7 @@ |
| 97 | 97 |
.adr_excel .adr_hd.select_adr_hd{background:#e0e0e0;}
|
| 98 | 98 |
.adr_excel .adr_hd>div select{width:calc(100% - 8px);height:36px;background:transparent url(/publish/images/select_search.png) no-repeat 90% 15px;background-size:16px auto;margin:-8px 0 0 0;border:0;text-align:center;line-height:1.3;}
|
| 99 | 99 |
.adr_excel .adr_hd>div:last-child::after{display:none;}
|
| 100 |
+.adr_excel .adr_hd.msg>div:first-child::after{display:none;}
|
|
| 100 | 101 |
|
| 101 | 102 |
/* 붙여넣기 colgroup */ |
| 102 | 103 |
/* .excel_paste .adr_hd>div:nth-child(1), .excel_paste .adr_bd>div:nth-child(1) {width: 40px;}
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?