SMART datagrid v.1 > Classes > GridExportOptions

Back  Forward

DataLudi.GridExportOptions.booleanFormat  property

BOOLEANフィールドのデータセルの値をexcelセルのテキストに変換する形式。 

"false文字列:true文字列:undefined文字列" 形式で指定する。 

別度に指定しなければ"false:true:"形式が基本に使われる。 

デフォルト値は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: "否: 可:"
        });
    });
See Also
booleanCallback
datetimeCallback
datetimeFormat
numberCallback
numberFormat
GridExcelExporter
exportToExcel
Examples
エクセルでエクスポート