SMART datagrid v.1 > Classes > GridExportOptions

[ grids ver.1.3.5]   Back  Forward

DataLudi.GridExportOptions.showProgress  property

If it is true, when proceeding Asynchronous exporting, it will automatically display Progress Bar. 

You can specify this property as false and display self progress indication or call GridBase.showProgress within onStart, onProgress, onFinished callbacks which are called when running exporting to directly display the progress bar. You can specify the title of progress bar by title property. 

Defaults to 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: 'Excel exporting...'
        });
    });
See Also
async
title
onStart
onProgress
onFinished
GridExcelExporter
exportToExcel
Examples
Async Excel Exporting