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

> The ExportCell interface of @salmonui/data-grid/engine/export: One exported cell. value is the typed value (numbers, booleans, Date, strings), text the display string.

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

```ts
import type { ExportCell } 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 ExportCell {
    readonly value: unknown;
    readonly text: string;
    readonly type: ColumnType;
    readonly style?: ExportCellStyle;
    readonly formula?: string;
    readonly colSpan?: number;
    readonly rowSpan?: number;
    readonly image?: ExportImage;
}
```

One exported cell. `value` is the typed value (numbers, booleans, `Date`, strings), `text` the display string.

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `value` | `readonly value: unknown;` |  |  |
| `text` | `readonly text: string;` |  |  |
| `type` | `readonly type: ColumnType;` |  |  |
| `style` | `readonly style?: ExportCellStyle;` | optional |  |
| `formula` | `readonly formula?: string;` | optional | XLSX formula without the leading `=`. Security: never build it from untrusted input. |
| `colSpan` | `readonly colSpan?: number;` | optional |  |
| `rowSpan` | `readonly rowSpan?: number;` | optional |  |
| `image` | `readonly image?: ExportImage;` | optional | Image drawn in the cell; `text` stays the fallback. |
