SMART datagrid v.1 > Classes > DataOutputOptions

[ grids ver.1.3.0]   Back  Forward

DataLudi.DataOutputOptions.visibleFields  property

The fields which are included in exporting. 

Specify one field or specify more than one as array. You can respectively specify as field index or field name. 

If do not specify this property, all fields will be included. And, when they are included in [[#.hiddenFields] even if in this property, they will not be included in exporting. 

Defaults to null.

Getter
function visibleFields(): [String|Integer]
Setter
function setVisibleFields(value: [String|nteger])
Code -1
    ds.exportToJson({
        hiddenFields: ['country']
    });
See Also
hiddenFields
GridDataSet.exportToJson
GridDataSet.exportToCsv
Examples
Grid Data Set Export