SMART datagrid v.1 > Classes > GridExportOptions

Back  Forward

DataLudi.GridExportOptions.numberFormat  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 numberFormat(): String
Setter
function setNumberFormat(value: String)
Code -1
    $('#export').click(function () {
        DataLudi.exportToExcel(grdMain, {
            target:  "local",
            fileName: "dlgrid.xlsx",
            numberFormat: "#,##0.00"
        });
    });
See Also
numberCallback
booleanCallback
booleanFormat
datetimeCallback
datetimeFormat
GridExcelExporter
exportToExcel
Examples
Excel Exporting