시트의 내용을
Excel, Text, Pdf등으로 다운로드 하는 함수(down2Excel, down2Text, exportData, down2Pdf) 호출 후 다운로드 완료 시 발생합니다.
onExportFinish : function(paramObject) {
}
or
sheet.bind("onExportFinish" , function(paramObject) {});
| Name | Type | Description |
|---|---|---|
| sheet | object |
시트 객체 |
| type | string |
down2Excel, down2Text, exportData, down2Pdf 함수 호출에 따라 EXCEL, TEXT, PDF |
| result | boolean |
다운로드 처리 결과0(false):오류 발생1(true):정상 종료 |
| message | string |
다운로드 실패(result가 0) 시 서버 모듈이 전달한 메시지. 서버 다운로드 페이지에서 getDownError("메시지")로 지정한 값이 전달됩니다. |
none
options.Events = {
onExportFinish:function(evtParam){
if(evtParam.result){
//다운로드 완료 후 메세지 표시
alert("다운로드가 완료 되었습니다.");
}else{
//다운로드 실패 시 서버가 보낸 메시지 표시
alert(evtParam.message);
}
}
}
| product | version | desc |
|---|---|---|
| excel | 0.0.0 | 기능 추가 |