IExportingJSONOptions
Type interface
Sources
IExportingJSONOptions is an interface: it describes a shape of data and is not imported on its own.
Inheritance
IExportingJSONOptions extends IExportingDataOptions.
IExportingJSONOptions is not extended by any other symbol.
Properties
indentType
string|numberDefault2Indentation of the JSON: a number of spaces, or a string to indent with.
renameFieldsType
undefined|false|trueDefaulttrueUses the column names from
dataFieldsas keys, instead of the field names. Has no effect withoutdataFields.
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.