# ExportColumnDef (@salmonui/core/export-model)

> The ExportColumnDef interface of @salmonui/core/export-model: The column definition fields an export hook may read (the Data Grid passes its column definition).

Canonical: https://salmonui.dev/docs/reference/core/export-model/ExportColumnDef

```ts
import type { ExportColumnDef } from '@salmonui/core/export-model';
```

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

## Reference

Kind: interface

```ts
interface ExportColumnDef {
    readonly id?: string;
    readonly field?: string;
    readonly type?: ColumnType;
    readonly format?: string | FormatOptions;
    readonly header?: string;
}
```

The column definition fields an export hook may read (the Data Grid passes its column definition).

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id?: string;` | optional |  |
| `field` | `readonly field?: string;` | optional |  |
| `type` | `readonly type?: ColumnType;` | optional |  |
| `format` | `readonly format?: string \| FormatOptions;` | optional |  |
| `header` | `readonly header?: string;` | optional |  |
