Interface ExcelServiceIf

Writes an Excel file from a matrix of values. The default implementation is ExcelService; pass your own as last argument of the TableScope constructor to change how TableApi.downloadExcel exports.

Hierarchy

  • ExcelServiceIf

Implemented by

Methods

  • Creates the file from matrix (rows of values) and hands it to the browser as download.

    Parameters

    • matrix: any[][]
    • filename: string
    • Optional author: string

    Returns void | Promise<void>