SMART datagrid v.1 > Classes > GridExportOptions
Grid Header exporting setting. You can specify as one of below three values.
Value | Explanation |
---|---|
"default" | Follow the setting of grid. If the header has been displayed in grid, it will run exporting. |
"hidden" | Do not export grid header. |
"visible" | Even if it has not been displayed in grid, it will be added to grid header exporting. |
Defaults to "default".
$('#export').click(function () {
DataLudi.exportToExcel(grdMain, {
taregt: "local",
fileName: "dlgrid.xlsx",
header: "visible"
});
});