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

> The ExportDataRow interface of @salmonui/core/export-model.

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

```ts
import type { ExportDataRow } 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 ExportDataRow<Row> {
    readonly kind: 'data';
    readonly index: number;
    readonly id: RowId;
    readonly row: Row;
    readonly depth: number;
    readonly collapsed?: true;
    readonly hidden?: true;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `readonly kind: 'data';` |  |  |
| `index` | `readonly index: number;` |  |  |
| `id` | `readonly id: RowId;` |  |  |
| `row` | `readonly row: Row;` |  |  |
| `depth` | `readonly depth: number;` |  | Nesting depth (group levels above the row; tree depth for hierarchy rows). |
| `collapsed` | `readonly collapsed?: true;` | optional | Tree mode: a parent collapsed in the grid whose subtree follows in the export (`tree: 'all'`). |
| `hidden` | `readonly hidden?: true;` | optional | Tree mode: a row under a collapsed ancestor (`tree: 'all'`); XLSX `outlineCollapsed` hides it. |
