Skip to content

IExportingHTMLOptions

Type interface

Sources

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

Inheritance

IExportingHTMLOptions extends IExportingDataOptions.

IExportingHTMLOptions is not extended by any other symbol.

Properties

cellClass

Type undefined | string

class attribute of the <td> tags.

headerClass

Type undefined | string

class attribute of the <th> tags.

rowClass

Type undefined | string

class attribute of the <tr> tags.

tableClass

Type undefined | string

class attribute of the <table> tag.

6 inherited items
addColumnNames

Type undefined | false | trueDefault trueInherited from IExportingDataOptions

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

disabled

Type undefined | false | trueInherited from IExportingFormatOptions

Leaves this format out of the ExportingMenu.

emptyAs

Type undefined | stringInherited from IExportingDataOptions

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

pivot

Type undefined | false | trueInherited from IExportingDataOptions

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

useLocale

Type undefined | false | trueDefault falseInherited from IExportingDataOptions

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

useTimestamps

Type undefined | false | trueDefault falseInherited from IExportingDataOptions

Exports dates as timestamps instead of formatted dates.