Skip to main content

xlsx()

Description

Exports data from a spreadsheet into an Excel (.xlsx) file

Usage

xlsx(): void;

Example

const spreadsheet = new dhx.Spreadsheet("spreadsheet", {
// config parameters
});
spreadsheet.parse(data);

// exports data from a spreadsheet into an Excel
spreadsheet.export.xlsx();
note

Please note that the component supports export to Excel files with the .xlsx extension only.

info

DHTMLX Spreadsheet uses the WebAssembly-based library Json2Excel for import of data from Excel. Check the details.

Related articles: Data loading and export

Related sample: Spreadsheet. Export Xlsx