SMART datagrid v.1 > Classes > GridExportOptions

[ grids ver.1.3.6]   Back  Forward

DataLudi.GridExportOptions.legacy  property

In Excel 2007, it cannot display row group or tree view layer thus will be exported to a wrong document, and if specify this property as true, it will be exported as a document without a hierarchy. 

Defaults to false.

Getter
function legacy(): Boolean
Setter
function setLegacy(value: Boolean)
Code -1
    $('#export').click(function () {
        new DataLudi.exportToExcel(grdMain, {
            target: "local",
            fileName: "dlgrid.xlsx",
            legacy: true
        });
    });
See Also
async
GridExcelExporter
exportToExcel
Examples
Excel Exporting
Async Excel Exporting