SMART datagrid v.1 > Classes > GridExportOptions
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.
$('#export').click(function () {
new DataLudi.exportToExcel(grdMain, {
target: "local",
fileName: "dlgrid.xlsx",
legacy: true
});
});