New to Kendo UI for Vue? Start a free 30-day trial

Workbook

An ooxml workbook.

NameTypeDefaultDescription

options

WorkbookOptions

The workbook options.

sheets

WorkbookSheet[]

The sheets of the workbook. Every sheet represents a page from the final Excel file.

Constructors

Workbook

(options?: WorkbookOptions)

Parameters

options?

WorkbookOptions

Methods

toDataURL

Creates an Excel file that represents the current workbook and returns a Promise which will be resolved with a data URL.

Returns

Promise<string>

  • The Promise which will be resolve with the file data URI.