XLSX export with native cell types
Generates an Office Open XML workbook using a dependency-free, Apache-2.0 compatible writer. Numbers, dates, booleans and strings are written as native cell types, so spreadsheet sorting and arithmetic work without conversion.
Planned. This page shows the specification from issue #200. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Grid with mixed-type columns, including one date column with time.
Expected behavior
The downloaded workbook opens with one sheet. Number cells are right-aligned and summable, and date cells are real date serials displayed with a date format.
Planned API surface
exportOptions.format='xlsx'xlsx.sheetNamecolumn.exportType'string' | 'number' | 'date' | 'boolean'xlsx.dateSystemAcceptance criteria
- The produced file is a valid XLSX package that opens without repair prompts in common spreadsheet applications. (pending)
- Number columns are written as numeric cells. (pending)
- Dates are written as serial numbers with a date number format. (pending)
- Booleans are written as boolean cells. (pending)
- Sheet names longer than 31 characters or containing []:*?/\ are sanitized, with a warning. (pending)
- The writer adds no third-party runtime dependency with an incompatible license. (pending)