Export values
GridExportMode, GridExportRunOptions: generated from the source of active-grid.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Types#
- Type
type GridExport Mode = 'data' | 'presentation';
The two export output classes.
'data'— machine/raw semantics: stable, presentation-independent, byte-identical under every viewer language. The DEFAULT for CSV, XLSX and JSON data export.'presentation'— the human-readable form, close to what the grid renders. Only produced when explicitly requested, and requires the caller to supply the locale — the grid never derives presentation from anything it resolves itself.
Mode options accepted by the export functions. Presentation mode requires an explicit locale at the type level: there is no default language a machine boundary could safely assume.
type GridExportRunOptions =
{mode?: 'data'} | {mode: 'presentation'; locale: GridPresentation};