Optional
allIf true
, the hidden columns will also be exported.
Optional
delimiterThe character used to separate fields.
Optional
escapeIf false
, the formulas in the cells will not be escaped.
It is not recommended to disable this option as it exposes the user to potential CSV injection attacks.
See https://owasp.org/www-community/attacks/CSV_Injection for more information.
Optional
fieldsThe columns exported. This should only be used if you want to restrict the columns exports.
Optional
fileThe string used as the file name.
Optional
getFunction that returns the list of row ids to export on the order they should be exported.
With all properties from [[GridCsvGetRowsToExportParams]].
The list of row ids to export.
Optional
includeIf true
, the CSV will include the column groups.
See column groups docs for more details.
Optional
includeIf true
, the CSV will include the column headers and column groups.
Use includeColumnGroupsHeaders
to control whether the column groups are included.
Optional
utf8If true
, the UTF-8 Byte Order Mark (BOM) prefixes the exported file.
This can allow Excel to automatically detect file encoding as UTF-8.
The options to apply on the CSV export.
Demos