SMART datagrid v1.4 > Classes > DataOutputOptions
DataOutputOptions 생성자.
var options = new DataOutputOptions({
datetimeFormat: 'yyyy/MM/dd',
quoted: true,
valueCallbacks: [{
"cust_id": function (row, field, value) {
if (value && value.indexOf('(') == 0) {
return value + ' Inc.';
}
return value;
}
}]
});
var s = dsMain.exportToCsv(options);
DataLudi.saveTextToFile(s, 'dataludidata.csv');