Skip to content

IExportingDataOptions

Type interface

Sources

IExportingDataOptions is an interface: it describes a shape of data and is not imported on its own.

Inheritance

IExportingDataOptions extends IExportingFormatOptions.

IExportingDataOptions is extended by IExportingCSVOptions, IExportingHTMLOptions, IExportingJSONOptions, IExportingXLSXOptions.

Properties

addColumnNames

Type undefined | false | trueDefault true

Adds the column names as the first row (or column, with pivot) in CSV, HTML, XLSX and PDF tables.

emptyAs

Type undefined | string

Text for empty values: "-" in HTML by default, an empty string in the other formats.

pivot

Type undefined | false | true

Swaps rows and columns, so that each field is a row.

useLocale

Type undefined | false | trueDefault false

Formats dates in the browser's locale instead of with dateFormat.

useTimestamps

Type undefined | false | trueDefault false

Exports dates as timestamps instead of formatted dates.

1 inherited item
disabled

Type undefined | false | trueInherited from IExportingFormatOptions

Leaves this format out of the ExportingMenu.