1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
넥사크로 화면 그리드 엑셀 다운로드 하기
//업체리스트 엑셀 저장
this.divTest_excelTest_onclick = function(obj:Button, e:nexacro.ClickEventInfo)
{
//data check
if ( this.divTest.grdTestList.rowcount == 0) {
this.gfn_showAlertBox("VLD0024", ["다운로드","데이터"]);
return;
}
this.exportObj = new ExcelExportObject();
this.exportObj.set_exportfilename("엑셀 저장"+ "_" + this.gfn_getTodayDTLen(14));
this.exportObj.set_exporttype(nexacro.ExportTypes.EXCEL2007);
this.exportObj.set_exporturl("svcurl::XExportImport.excel");
this.exportObj.addExportItem(nexacro.ExportItemTypes.GRID, this.divTest.grdTestList, "Sheet1!A2");
var nCount = this.exportObj.exportData("drmFlag=N");
}
//svcurl == http://localhost:8080 - form에 저장되어 있음 (prefixid:svcurl, type:JSP, cachelevel :none)
|
cs |
넥사크로 웹브라우저(webBrowser) 사용법 (0) | 2021.06.29 |
---|---|
넥사크로 많이 쓰는 문법 정리 (0) | 2021.06.29 |
넥사크로_배열, for문, set or get Column 사용법 (0) | 2021.05.21 |
넥사크로_자바_SQL_체크박스 다중 값 검색 (0) | 2021.05.21 |
JSTL_forEach문, if문 사용법 (0) | 2021.05.21 |
댓글 영역