SMART datagrid v.1 > Classes > DataOutputOptions

Back  Forward

DataLudi.DataOutputOptions.booleanFormat  property

String conversion format which is used to export the value of Boolean field. 

It is the same as the way to specify in GridStyles.booleanFormat. And, if specify valueCallback or valueCallbacks, this property will be ignored. 

Defaults to undefined.

Getter
function booleanFormat(): String
Setter
function setBooleanFormat(value: String)
Code -1
    var s = dsMain.exportToCsv({
        booleanFormat: 'Pending;Approval',
        quoted: true
    });
    DataLudi.saveTextToFile(s, 'dataludidata.csv');
See Also
datetimeFormat
valueCallback
valueCallbacks
GridDataSet.exportToCsv
GridDataSet.exportToJson
Examples
Grid Data Set Export