Browse Source

엑셀양식 다운로드
- 100건 이상 오류 테스트

dev001 9 months ago
parent
commit
71c5101e7f
1 changed files with 45 additions and 0 deletions
  1. 45 0
      src/main/webapp/ux/ei/ei0201/EI02010001U.xml

+ 45 - 0
src/main/webapp/ux/ei/ei0201/EI02010001U.xml

@@ -350,6 +350,7 @@
 	 * 함수명 : scwin.btnDownExcelForm_onclick
 	 * 함수명 : scwin.btnDownExcelForm_onclick
 	 * 기능 : 엑셀양식 다운로드
 	 * 기능 : 엑셀양식 다운로드
 	 ***************************************************************************/
 	 ***************************************************************************/
+	/* 
 	scwin.btnDownExcelForm_onclick = function() {
 	scwin.btnDownExcelForm_onclick = function() {
 		var removeColumns = "0,1,2,3,4,5,35"
 		var removeColumns = "0,1,2,3,4,5,35"
 	
 	
@@ -389,6 +390,50 @@
             ]
             ]
         };
         };
         
         
+        WebSquare.util.multipleExcelDownload(options);	
+	};
+	*/
+	scwin.btnDownExcelForm_onclick = function() {
+		var removeColumns = "0,1,2,3,4,5,35"
+		var totalRow = dcdataList1.getTotalRow();  // 100건 이상 설정 관련
+	
+        var options = {
+            common: {
+                fileName : "자금관리.xls",
+                multipleSheet : "true",
+                rowsByN : totalRow // 100건 이상 설정 관련
+            },
+            excelInfo: [
+                {	
+                    startRowIndex : 0,
+                    gridId : grdCashMng1.getID(),
+                    sheetName : "자금관리",
+					type : "0",
+					startRowIndex : 0,
+					startColumnIndex : 0,
+					headerColor : "#DBEEF3",
+					footerColor : "#92CDDC",
+					showProcess : true,
+					useDataFormat : "true",
+					useFooter : false,                    
+                    removeColumns : removeColumns,
+                },
+                {	
+                	startRowIndex : 0,
+                    gridId : grdData2.getID(),
+                    sheetName : "코드정의",
+					type : "1",
+					startRowIndex : 0,
+					startColumnIndex : 0,
+					headerColor : "#DBEEF3",
+					footerColor : "#92CDDC",
+					showProcess : true,
+					useDataFormat : "true",
+					useFooter : false,                    
+                }
+            ]
+        };
+        
         WebSquare.util.multipleExcelDownload(options);	
         WebSquare.util.multipleExcelDownload(options);	
 	};
 	};