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

> The ExportHeaderCell interface of @salmonui/core/export-model: A header cell. Header rows list cells at their start column; covered positions have no entry.

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

```ts
import type { ExportHeaderCell } 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 ExportHeaderCell {
    readonly text: string;
    readonly columnId: ColumnId;
    readonly colIndex: number;
    readonly colSpan: number;
    readonly rowSpan: number;
    readonly leaf: boolean;
    readonly textAlign: 'start' | 'center' | 'end';
    readonly style?: ExportCellStyle;
}
```

A header cell. Header rows list cells at their start column; covered positions have no entry.

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `text` | `readonly text: string;` |  |  |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `colIndex` | `readonly colIndex: number;` |  | Index of the first exported column the cell covers. |
| `colSpan` | `readonly colSpan: number;` |  |  |
| `rowSpan` | `readonly rowSpan: number;` |  |  |
| `leaf` | `readonly leaf: boolean;` |  |  |
| `textAlign` | `readonly textAlign: 'start' \| 'center' \| 'end';` |  |  |
| `style` | `readonly style?: ExportCellStyle;` | optional | Set by header hooks (`excelHeaderQueryCellInfo`); merged over the theme header style. |
