IExportingCSVOptions
Type interface
Sources
IExportingCSVOptions is an interface: it describes a shape of data and is not imported on its own.
Inheritance
IExportingCSVOptions extends IExportingDataOptions.
IExportingCSVOptions is not extended by any other symbol.
Properties
addBOMType
undefined|false|trueDefaulttrueSince 5.1.0Starts the file with a byte order mark, so that Excel reads its UTF-8 characters correctly.
escapeFormulasType
undefined|false|trueDefaulttrueSince 5.19.0Protects against spreadsheet formula injection ("CSV injection"): text values that start with
=,+,-,@, a tab or a carriage return get a single quote in front, so they are read as plain text.forceQuotesType
undefined|false|trueDefaultfalseQuotes all values, numbers too.
reverseType
undefined|false|trueDefaultfalseExports the rows in reverse order.
separatorType
undefined|stringDefault","Column separator.
6 inherited items
addColumnNamesType
undefined|false|trueDefaulttrueInherited fromIExportingDataOptionsAdds the column names as the first row (or column, with
pivot) in CSV, HTML, XLSX and PDF tables.disabledType
undefined|false|trueInherited fromIExportingFormatOptionsLeaves this format out of the
ExportingMenu.emptyAsType
undefined|stringInherited fromIExportingDataOptionsText for empty values:
"-"in HTML by default, an empty string in the other formats.pivotType
undefined|false|trueInherited fromIExportingDataOptionsSwaps rows and columns, so that each field is a row.
useLocaleType
undefined|false|trueDefaultfalseInherited fromIExportingDataOptionsFormats dates in the browser's locale instead of with
dateFormat.useTimestampsType
undefined|false|trueDefaultfalseInherited fromIExportingDataOptionsExports dates as timestamps instead of formatted dates.