WriteExcelFileProvider

Provider class utilizing write-excel-file library to create xls file

Functions

1
writestatic

This function accepts data to put to Excel file and uses write-excel-file library to create xlsx 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