WarUI

Formula export to XLSX

GRID-A13-F22P1baselinePlanned

Exporting to XLSX writes formulas as native spreadsheet formulas together with cached computed values, so the file opens correctly in common spreadsheet apps. Grid-only constructs such as structured column references, custom functions and cross-grid references are either translated or exported as values, according to the policy option.

Planned. This page shows the specification from issue #192. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with built-in, structured and custom-function formulas, plus a named range.

Expected behavior

The downloaded file contains native formulas with cached values. Custom-function cells follow the policy, and the warnings panel lists them. Named ranges become workbook defined names.

Planned API surface

method: api.exportXlsx(options)option: exportXlsx.formulas ('formulas'|'values'|'both')option: exportXlsx.unsupportedPolicy ('value'|'error'|'comment')event: exportWarning

Acceptance criteria

  • Exported formulas use the standard XLSX formula syntax with comma separators and English function names. (pending)
  • Every formula cell includes a cached value. (pending)
  • Structured references are translated to A1 ranges. (pending)
  • Unsupported constructs raise exportWarning events with their addresses. (pending)
  • The exported file opens without repair prompts in major spreadsheet apps (manual test checklist). (pending)