문자발송 > 주소록불러오기 가로 길이 조정 수정

This commit is contained in:
hehihoho3@gmail.com 2024-12-24 14:42:39 +09:00
parent e6b7a96071
commit 0a21e4be6e
2 changed files with 13 additions and 12 deletions

View File

@ -96,14 +96,14 @@ $(document).ready(function(){
// 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 @@ $(document).ready(function(){
}, 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 @@ function getMjMsgSentListAll(pageNo) {
<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>

View File

@ -30,6 +30,7 @@ $(document).ready(function(){
autoColumns:false,
headerHozAlign:"center",
validationMode:"highlight",
resizableColumns: false,
clipboard:false,
clipboardCopySelector:"table",
clipboardPasteAction:"insert", // insert, update, replace