SMART datagrid v.1 > Classes > DataOutputOptions

Back  Forward

DataLudi.DataOutputOptions.nullDateText  property

When exporting the value of DATETIME field, if the date value is null, it will be added as the string specified by this property. 

If specify valueCallback or valueCallbacks, this value will be ignored. 

Defaults to "".

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