diff --git a/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp b/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp index 4373bb9f..4b4a2b55 100644 --- a/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp @@ -368,6 +368,7 @@ function processExcelData(data) { // 텍스트 데이터 처리 함수 function processTextData(text) { + console.log(' :: processTextData :: '); var lines = text.split('\n'); // 각 줄을 배열로 분리 var keys = ['A', 'B', 'C', 'D', 'E', 'F', 'G']; var tableData = []; @@ -386,6 +387,7 @@ function processTextData(text) { //공통 테이블 업데이트 함수 function updateTable(tableData) { + console.log(' :: updateTable :: '); $tableExcel.setColumns([ // 열 정의를 다시 설정 {formatter: "rowSelection", titleFormatter: "rowSelection", clipboard: false, hozAlign: "center", headerHozAlign: "center", headerSort: false, cellClick: function(e, cell) { cell.getRow().toggleSelect(); @@ -400,11 +402,13 @@ function updateTable(tableData) { {title: "G", field: "G", hozAlign: "center", headerHozAlign: "center", width: 125, validator: ["maxLength:100", "string"]} ]); + console.log(' :: $tableExcel.setData(tableData) :: '); $tableExcel.setData(tableData).then(() => { // rowTotCnt 업데이트 document.getElementById("rowTotCnt").innerText = tableData.length; }); + console.log(' :: fn_loadRemoveActive :: '); fn_loadRemoveActive(); }