SMART datagrid v1.4 > Classes > DataOutputOptions

Back  Forward

DataLudi.DataOutputOptions.DataOutputOptions  constructor

DataOutputOptions 생성자. 

function DataOutputOptions (config: Object);
Returns
Void
Parameters
config - Object. required.
Code -1
    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');
See Also
GridDataSet.exportToCsv
GridDataSet.exportToJson
Examples
그리드 데이터셋 내보내기