SMART datagrid v.1 > Classes > DataOutputOptions

Back  Forward

DataLudi.DataOutputOptions.lfText  property

The string which will replace line feed ('\n') character when exporting data set by GridDataSet.exportToCsv

If do not specify, carriage return will be added the same. You can set carriage return ('\r') substitution string by crText

Defaults to undefined.

Getter
function lfText(): String
Setter
function setLfText(value: String)
Code -1
    var s = dsMain.exportToCsv({
        lfText: '\\n',
        crText: '\\r'
    });
    DataLudi.saveTextToFile(s, 'dataludidata.csv');
See Also
crText
separator
quoted
datetimeFormat
booleanFormat
valueCallback
valueCallbacks
GridDataSet.exportToCsv
Examples
Grid Data Set Export