# ExportColumnOption (@salmonui/data-grid/engine/export)

> The ExportColumnOption interface of @salmonui/data-grid/engine/export: An export-only column: picked by id (or field), with an optional header text and width (px).

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-export/ExportColumnOption

```ts
import type { ExportColumnOption } from '@salmonui/data-grid/engine/export';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-export (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-export.md).

## Reference

Kind: interface

```ts
interface ExportColumnOption {
    readonly id?: string;
    readonly field?: string;
    readonly header?: string;
    readonly width?: number;
}
```

An export-only column: picked by `id` (or `field`), with an optional header text and width (px).

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id?: string;` | optional |  |
| `field` | `readonly field?: string;` | optional |  |
| `header` | `readonly header?: string;` | optional |  |
| `width` | `readonly width?: number;` | optional |  |
