onExportFinish (event)

시트의 내용을 Excel, Text, Pdf 등으로 다운로드 하는 함수(down2Excel, down2Text, exportData, down2Pdf) 호출 후 다운로드 완료 시 발생합니다.

Syntax

    onExportFinish : function(paramObject) {

    }
or
    sheet.bind("onExportFinish" , function(paramObject) {});

Parameters

Name Type Description
sheet object 시트 객체
type string down2Excel, down2Text, exportData, down2Pdf 함수 호출에 따라 EXCEL, TEXT, PDF
result boolean 다운로드 처리 결과. 정상이면 true

Return

none

Example

options.Events = {
    onExportFinish:function(evtParam){
        //다운로드 완료 후 페이지 이동
        if(evtParam.result){
            location.href = "board.do";
        }
    }
}

Read More

Since

product version desc
excel 0.0.0 기능 추가