# GanttGridExportOptions (@salmonui/gantt)

> The GanttGridExportOptions type of @salmonui/gantt: Excel / CSV export options: the Data Grid export options and hooks.

Canonical: https://salmonui.dev/docs/reference/gantt/GanttGridExportOptions

```ts
import type { GanttGridExportOptions } from '@salmonui/gantt';
```

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

## Reference

Kind: type

```ts
type GanttGridExportOptions<Row> = Pick<DataGridExportOptions<Row>, 'fileName' | 'cell' | 'headerCell' | 'tree' | 'includeHiddenColumns' | 'columns'>;
```

Excel / CSV export options: the Data Grid export options and hooks.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `includeHiddenColumns` | `includeHiddenColumns?: boolean;` | optional, inherited | Include hidden columns. Default false. |
| `columns` | `columns?: readonly ExportColumnOption[];` | optional, inherited | Export-only columns, in order. |
| `fileName` | `fileName?: string;` | optional, inherited | Download name; the format extension is added when missing. Default `export`. |
| `tree` | `tree?: "all" \| "expanded";` | optional, inherited | Tree mode rows: `expanded` (default) exports the visible rows in pre-order; `all` exports every kept row regardless of expansion (XLSX `outlineCollapsed` then keeps the collapsed state). |
| `cell` | `cell?: ((ctx: ExportCellHookContext<Row>) => void \| ExportCellPatch \| null \| undefined);` | optional, inherited | Per data cell. Not called when unset. |
| `headerCell` | `headerCell?: ((ctx: ExportHeaderCellHookContext<Row>) => void \| { readonly text?: string; readonly style?: ExportCellStyle; } \| null \| undefined);` | optional, inherited | Per header cell. |
