SMART datagrid v.1 > Classes > GridExportOptions

Back  Forward

DataLudi.GridExportOptions.datetimeFormat  property

You can specify numeric format number of Excel which exists as Excel default format or a new Excel number format. Please refer to Create Excel Number Format

Defaults to null.

Getter
function datetimeFormat(): String
Setter
function setDatetimeFormat(value: String)
Code -1
    $('#export').click(function () {
        DataLudi.exportToExcel(grdMain, {
            target:  "local",
            fileName: "dlgrid.xlsx",
            datetimeFormat: "yyyy.mm.dd"
        });
    });
See Also
datetimeCallback
booleanCallback
booleanFormat
numberCallback
numberFormat
GridExcelExporter
exportToExcel
Examples
Excel Exporting