API reference: @salmonui/gantt
GanttGridExportOptionstype
import type { GanttGridExportOptions } from '@salmonui/gantt';type GanttGridExportOptions<Row> = Pick<DataGridExportOptions<Row>, 'fileName' | 'cell' | 'headerCell' | 'tree' | 'includeHiddenColumns' | 'columns'>;
Excel / CSV export options: the Data Grid export options and hooks.
| Name | Signature | Description |
|---|---|---|
includeHiddenColumnsoptionalinherited | includeHiddenColumns?: boolean; | Include hidden columns. Default false. |
columnsoptionalinherited | columns?: readonly ExportColumnOption[]; | Export-only columns, in order. |
fileNameoptionalinherited | fileName?: string; | Download name; the format extension is added when missing. Default |
treeoptionalinherited | tree?: "all" | "expanded"; | Tree mode rows: |
celloptionalinherited | cell?: ((ctx: ExportCellHookContext<Row>) => void | ExportCellPatch | null | undefined); | Per data cell. Not called when unset. |
headerCelloptionalinherited | headerCell?: ((ctx: ExportHeaderCellHookContext<Row>) => void | { readonly text?: string; readonly style?: ExportCellStyle; } | null | undefined); | Per header cell. |