이호영 이호영 2024-12-24
문자발송 > 주소록불러오기 가로 길이 조정 수정
@0a21e4be6eff2dd75c05448455b79065c99c2a60
src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
--- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
@@ -96,14 +96,14 @@
 	// Tabulator 초기화
 	tableAddr = new Tabulator(".callAddr_box", {
 	    height: "255px",
-	    layout: "fitColumns",
+	    layout: "fitData",
 	    headerHozAlign: "center",
 	    validationMode: "highlight",
-	    placeholder: "주소록 그룹을 선택해 주세요.", 
-	    resizableColumns: false,
+	    resizableColumns: true,
 		progressiveLoad:"scroll",
 	    progressiveRender: true,   // 렌더링 최적화 활성화
 	    progressiveRenderSize: 100, // 한 번에 렌더링할 행 수를 줄임
+	    placeholder: "주소록 그룹을 선택해 주세요.", 
 	    columns: [
 // 	        {formatter: "rowSelection", clipboard: false, hozAlign: "center", headerSort: false}, 
 	        {formatter: "rowSelection", titleFormatter: "rowSelection", hozAlign: "center", headerSort: false, 
@@ -117,14 +117,14 @@
 	                }, 0); // 비동기적으로 실행
 	            }
 	        },
-	        {formatter: "rownum", align: "center", title: "No", hozAlign: "center", headerHozAlign: "center", width: 60},
-	        {title: "그룹명", hozAlign: "center", field: "addrGroupNm", editor: false, width: 100, validator: ["required", "minLength:2", "maxLength:40"]},
-	        {title: "이름", hozAlign: "center", field: "name", editor: false, width: 100, validator: ["maxLength:12"]},
-	        {title: "휴대폰번호", hozAlign: "center", field: "phone", editor: false, width: 100, validator: ["required", "minLength:10", "maxLength:11"]},
-	        {title: "[*1*]", hozAlign: "center", field: "rep1", editor: false, width: 84, validator: ["maxLength:40"]},
-	        {title: "[*2*]", hozAlign: "center", field: "rep2", editor: false, width: 84, validator: ["maxLength:40"]},
-	        {title: "[*3*]", hozAlign: "center", field: "rep3", editor: false, width: 84, validator: ["maxLength:40"]},
-	        {title: "[*4*]", hozAlign: "center", field: "rep4", editor: false, width: 84, validator: ["maxLength:40"]},
+	        {title: "No", hozAlign: "center", formatter: "rownum", align: "center", headerHozAlign: "center", width: 60},
+	        {title: "그룹명", hozAlign: "center", field: "addrGroupNm", editor: false, width: 100},
+	        {title: "이름", hozAlign: "center", field: "name", editor: false, width: 100},
+	        {title: "휴대폰번호", hozAlign: "center", field: "phone", editor: false, width: 100},
+	        {title: "[*1*]", hozAlign: "center", field: "rep1", editor: false, width: 84},
+	        {title: "[*2*]", hozAlign: "center", field: "rep2", editor: false, width: 84},
+	        {title: "[*3*]", hozAlign: "center", field: "rep3", editor: false, width: 84},
+	        {title: "[*4*]", hozAlign: "center", field: "rep4", editor: false, width: 84},
 	    ],
 	    validationFailed: function(cell, value, parameters) { 
 	        var valid = cell.isValid();
@@ -3689,7 +3689,7 @@
 									<button type="button" class="btnType btnType17"  onClick="javascrit:fnAddrSearch(); return false;">검색</button>
 								</div>
 								<!-- table -->
-								<div class="adr_excel adr_pop_list2 callAddr_box">
+								<div class="adr_excel adr_pop_list2 callAddr_box" style="max-width:722px">
 								</div>
 								<!--// table -->
 							</div>
src/main/webapp/js/web/addr/init.js
--- src/main/webapp/js/web/addr/init.js
+++ src/main/webapp/js/web/addr/init.js
@@ -30,6 +30,7 @@
 	    autoColumns:false,
 	    headerHozAlign:"center", 
 	    validationMode:"highlight",
+		resizableColumns: false,
 	    clipboard:false,
 	    clipboardCopySelector:"table",
 	    clipboardPasteAction:"insert", // insert, update, replace
Add a comment
List