SMART datagrid v1.4 > Classes > GridExportOptions

[ grids ver.1.3.5]   Back  Forward

DataLudi.GridExportOptions.showProgress  property

true비동기 내보기를 진행할 때 자동으로 Progress Bar를 표시한다. 

이 속성을 false로 지정하고, 내보내기 실행 중 호출되는 onStart, onProgress, onFinished 콜백 내에서 자체적인 진행 표시나, GridBase.showProgress 등을 호출해서 직접 진행바를 표시할 수도 있다. 진행바의 타이틀은 title 속성으로 지정할 수 있다. 

기본값은 true.

Getter
function showProgress(): Boolean
Setter
function setShowProgress(value: Boolean)
Code -1
    $('#export').click(function () {
        new DataLudi.exportToExcel(grdMain, {
            target: "local",
            fileName: "dlgrid.xlsx",
            async: true,
            showProgress: true,
            title: '엑셀 내보내기 중...'
        });
    });
See Also
async
title
onStart
onProgress
onFinished
GridExcelExporter
exportToExcel
Examples
Async Excel Exporting