---
id: "packages/active-grid/api/export-values"
title: "Export values"
description: "GridExportMode, GridExportRunOptions: generated from the source of active-grid."
url: "/packages/active-grid/api/export-values"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:export-values"
---

# Export values

Exported by `@workspace/active-grid`. Generated from the package source; part of [the index of every export](/packages/active-grid/api).

## Types

**GridExportMode**

```ts
type GridExportMode = '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.

**GridExportRunOptions**

```ts
type GridExportRunOptions =
  {mode?: 'data'} | {mode: 'presentation'; locale: GridPresentation};
```

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.
