XlsProviderBase

Base class for xls providers. Subclasses must implement single static write method.

Functions

1
writestatic

Implement this method to write data to an xls file

ParameterTypeDescription
configObject
config.filenameString

Name of the exported file

config.rowsXLSCell[][]

Array of rows, each row is an array of cells

config.columnsXLSColumn[]

Array of columns

config.sheetObject

deprecated, to be removed in 7.0 Object with columns and data

config.sheet.dataXLSCell[][]

Array of rows, each row is an array of cells

config.sheet.colsXLSColumn[]

Array of columns

config.MIMEString

File MIME type

Returns: void

Typedefs

2
ParameterTypeDescription
typeString

Cell type

value*

Cell value

ParameterTypeDescription
fieldString

Model field name

valueString

Column header text

typeString

Column type

widthNumber

Column width