Skip to content

Sheet2HTMLOpts

Options for converting a worksheet to an HTML table string

Interface: Sheet2HTMLOpts

Options for converting a worksheet to an HTML table string

Hierarchy

Extends:

  • WorksheetCellBudgetOptions Extended by:
  • WriteOptions

Properties

maxWorksheetCells

optional

maxWorksheetCells: number

Maximum cumulative cell work per sheet. This counts explicit cells plus generated column, hyperlink, span, and export positions. XLSX reads default to 10,000,000; exports default to 1,000,000.

id

optional

id: string

HTML id attribute for the table element

editable

optional

editable: boolean

If true, add contenteditable attribute to cells

optional

header: string

HTML to prepend before the table

optional

footer: string

HTML to append after the table

optional

sanitizeLinks: boolean

If not false, sanitize hyperlink targets to prevent XSS

Source

src/types.ts:575


← Sheet2CSVOpts | Sheet2JSONOpts →