Locale-aware export formatting
Applies a locale to formatted values, PDF and print output, and CSV decimal and date conventions, while XLSX keeps native types and applies locale-neutral formats. One option keeps exports consistent with the grid's display locale.
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 amounts and timestamps, with the locale defaulting to the grid locale.
Expected behavior
The preview reflects locale-specific separators, digits and dates for text formats. XLSX cell types remain numeric and date.
Planned API surface
exportOptions.localeexportOptions.timeZoneexportOptions.dateFormatexportOptions.numberFormatAcceptance criteria
- Formatted values use the configured locale through the platform's internationalization API. (pending)
- timeZone conversion is applied before formatting dates. (pending)
- XLSX number and date cells hold raw values regardless of locale. (pending)
- Raw mode in CSV ignores the locale and uses ISO formats and '.' decimals unless csv.decimalSeparator is set. (pending)
- The PDF direction is right-to-left when the locale is RTL. (pending)