SMART datagrid v.1 > Classes > GridExportOptions

Back  Forward

DataLudi.GridExportOptions.booleanFormat  property

The format which converts the value of data cell of BOOLEAN field to the text of Excel cell. 

It is specified in "falseString:trueString:undefinedString" format. 

If do not specify separately, "false:true:" format will be used by default. 

Defaults to null.

Getter
function booleanFormat(): String
Setter
function setBooleanFormat(value: String)
Code -1
    $('#export').click(function () {
        DataLudi.exportToExcel(grdMain, {
            target: "remote",
            url:  "/envelope",
            fileName: "dlgrid.xlsx",
            booleanFormat: "No:OK:"
        });
    });
See Also
booleanCallback
datetimeCallback
datetimeFormat
numberCallback
numberFormat
GridExcelExporter
exportToExcel
Examples
Excel Exporting