# @salmonui/gantt API reference

> 69 exported symbols of @salmonui/gantt: 1 component, 1 function, 42 interfaces, 24 types and 1 constant.

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

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

## Components

### Gantt

Kind: component

Page: https://salmonui.dev/docs/reference/gantt/Gantt

```ts
function Gantt<Row = Record<string, unknown>>(props: GanttProps<Row>): ReactNode;
```

Props: [`GanttProps`](https://salmonui.dev/docs/reference/gantt/GanttProps) (its members are the props)

## Functions

### parseDependencies

Kind: function

Page: https://salmonui.dev/docs/reference/gantt/parseDependencies

```ts
function parseDependencies(input: string | readonly unknown[] | null | undefined, options?: ParseDependencyOptions): Dependency[];
```

Dependencies of a predecessor string or array; malformed entries are skipped, duplicates keep the first.

## Interfaces

### GanttActionResult

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttActionResult

```ts
interface GanttActionResult {
    readonly status: 'applied' | 'rejected' | 'conflict';
    readonly reason?: string;
}
```

Results of Gantt actions.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `status` | `readonly status: 'applied' \| 'rejected' \| 'conflict';` |  |  |
| `reason` | `readonly reason?: string;` | optional |  |

### GanttAdaptive

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttAdaptive

```ts
interface GanttAdaptive {
    readonly breakpoint?: number;
}
```

`adaptive` options.

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `breakpoint` | `readonly breakpoint?: number;` | optional | Container width (px) below which the adaptive layout applies; measured after hydration (default 640). |

### GanttApi

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttApi

```ts
interface GanttApi<Row = Record<string, unknown>> extends Omit<DataGridApi<Row>, 'cancelEdit' | 'getState' | 'restoreState' | 'exportToExcel' | 'exportToCsv' | 'exportToPdf' | 'print' | 'undo' | 'redo' | 'setLoading'> {
    readonly grid: DataGridApi<Row>;
    getTask(id: RowId): Row | undefined;
    getTaskInfo(id: RowId): GanttTaskInfo | undefined;
    getViewRows(): readonly Row[];
    getCriticalTasks(): readonly Row[];
    formatDuration(id: RowId): string;
    formatWork(id: RowId): string;
    addTask(task?: Partial<Row>, options?: {
        readonly position?: 'top' | 'bottom' | 'above' | 'below' | 'child';
        readonly targetId?: RowId;
    }): GanttActionResult;
    updateTask(id: RowId, changes: Partial<Row>): GanttActionResult;
    deleteTasks(ids: RowId | readonly RowId[]): GanttActionResult;
    changeTaskId(id: RowId, newId: RowId): GanttActionResult;
    cancelEdit(): void;
    indent(ids: RowId | readonly RowId[]): GanttActionResult;
    outdent(ids: RowId | readonly RowId[]): GanttActionResult;
    moveTasks(ids: RowId | readonly RowId[], targetId: RowId, position: 'above' | 'below' | 'child'): GanttActionResult;
    addDependency(taskId: RowId, dependency: Dependency | string): GanttActionResult;
    removeDependency(taskId: RowId, predecessorId: RowId): GanttActionResult;
    updateDependencies(taskId: RowId, dependencies: readonly Dependency[] | string): GanttActionResult;
    splitTask(id: RowId, date: GanttDateInput): GanttActionResult;
    mergeSegments(id: RowId, segmentIndexes: readonly number[]): GanttActionResult;
    convertToMilestone(id: RowId): GanttActionResult;
    convertToTask(id: RowId): GanttActionResult;
    setTaskMode(id: RowId, mode: 'auto' | 'manual'): GanttActionResult;
    setProjectDates(start: GanttDateInput, end: GanttDateInput): void;
    expandAll(): void;
    collapseAll(): void;
    expandRows(ids: RowId | readonly RowId[]): void;
    collapseRows(ids: RowId | readonly RowId[]): void;
    zoomIn(): void;
    zoomOut(): void;
    zoomToFit(): void;
    getZoom(): number;
    extendTimeline(side: 'start' | 'end'): void;
    scrollToDate(date: GanttDateInput): void;
    scrollToTask(id: RowId): void;
    scrollTo(options: {
        readonly top?: number;
        readonly left?: number;
    }): void;
    setSplitterPosition(position: number | string): void;
    openAddDialog(): void;
    openEditDialog(id: RowId): void;
    closeDialog(): void;
    undo(): void;
    redo(): void;
    getUndoActions(): readonly string[];
    getRedoActions(): readonly string[];
    clearUndo(): void;
    clearRedo(): void;
    setLoading(loading: boolean): void;
    getState(): GanttState;
    restoreState(state: GanttState): void;
    exportToExcel(options?: GanttGridExportOptions<Row> & {
        readonly sheetName?: string;
    }): Promise<GanttExportFile<Uint8Array> | null>;
    exportToCsv(options?: GanttGridExportOptions<Row> & {
        readonly separator?: string;
        readonly escapeFormulas?: boolean;
    }): Promise<GanttExportFile<string> | null>;
    exportToPdf(options?: GanttPdfExportOptions<Row>): Promise<GanttExportFile<Uint8Array> | null>;
    print(): void;
    getTaskbarElement(id: RowId): HTMLElement | null;
    getChartElement(): HTMLElement | null;
}
```

`ref`; extends the grid pane's `DataGridApi`.

Members (186):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `grid` | `readonly grid: DataGridApi<Row>;` |  |  |
| `getTask` | `getTask(id: RowId): Row \| undefined;` |  |  |
| `getTaskInfo` | `getTaskInfo(id: RowId): GanttTaskInfo \| undefined;` |  |  |
| `getViewRows` | `getViewRows(): readonly Row[];` |  |  |
| `getCriticalTasks` | `getCriticalTasks(): readonly Row[];` |  |  |
| `formatDuration` | `formatDuration(id: RowId): string;` |  |  |
| `formatWork` | `formatWork(id: RowId): string;` |  |  |
| `addTask` | `addTask(task?: Partial<Row>, options?: {     readonly position?: 'top' \| 'bottom' \| 'above' \| 'below' \| 'child';     readonly targetId?: RowId; }): GanttActionResult;` |  |  |
| `updateTask` | `updateTask(id: RowId, changes: Partial<Row>): GanttActionResult;` |  |  |
| `deleteTasks` | `deleteTasks(ids: RowId \| readonly RowId[]): GanttActionResult;` |  |  |
| `changeTaskId` | `changeTaskId(id: RowId, newId: RowId): GanttActionResult;` |  |  |
| `cancelEdit` | `cancelEdit(): void;` |  |  |
| `indent` | `indent(ids: RowId \| readonly RowId[]): GanttActionResult;` |  |  |
| `outdent` | `outdent(ids: RowId \| readonly RowId[]): GanttActionResult;` |  |  |
| `moveTasks` | `moveTasks(ids: RowId \| readonly RowId[], targetId: RowId, position: 'above' \| 'below' \| 'child'): GanttActionResult;` |  |  |
| `addDependency` | `addDependency(taskId: RowId, dependency: Dependency \| string): GanttActionResult;` |  |  |
| `removeDependency` | `removeDependency(taskId: RowId, predecessorId: RowId): GanttActionResult;` |  |  |
| `updateDependencies` | `updateDependencies(taskId: RowId, dependencies: readonly Dependency[] \| string): GanttActionResult;` |  |  |
| `splitTask` | `splitTask(id: RowId, date: GanttDateInput): GanttActionResult;` |  |  |
| `mergeSegments` | `mergeSegments(id: RowId, segmentIndexes: readonly number[]): GanttActionResult;` |  |  |
| `convertToMilestone` | `convertToMilestone(id: RowId): GanttActionResult;` |  |  |
| `convertToTask` | `convertToTask(id: RowId): GanttActionResult;` |  |  |
| `setTaskMode` | `setTaskMode(id: RowId, mode: 'auto' \| 'manual'): GanttActionResult;` |  |  |
| `setProjectDates` | `setProjectDates(start: GanttDateInput, end: GanttDateInput): void;` |  |  |
| `expandAll` | `expandAll(): void;` |  |  |
| `collapseAll` | `collapseAll(): void;` |  |  |
| `expandRows` | `expandRows(ids: RowId \| readonly RowId[]): void;` |  |  |
| `collapseRows` | `collapseRows(ids: RowId \| readonly RowId[]): void;` |  |  |
| `zoomIn` | `zoomIn(): void;` |  |  |
| `zoomOut` | `zoomOut(): void;` |  |  |
| `zoomToFit` | `zoomToFit(): void;` |  |  |
| `getZoom` | `getZoom(): number;` |  |  |
| `extendTimeline` | `extendTimeline(side: 'start' \| 'end'): void;` |  |  |
| `scrollToDate` | `scrollToDate(date: GanttDateInput): void;` |  |  |
| `scrollToTask` | `scrollToTask(id: RowId): void;` |  |  |
| `scrollTo` | `scrollTo(options: {     readonly top?: number;     readonly left?: number; }): void;` |  |  |
| `setSplitterPosition` | `setSplitterPosition(position: number \| string): void;` |  |  |
| `openAddDialog` | `openAddDialog(): void;` |  |  |
| `openEditDialog` | `openEditDialog(id: RowId): void;` |  |  |
| `closeDialog` | `closeDialog(): void;` |  |  |
| `undo` | `undo(): void;` |  |  |
| `redo` | `redo(): void;` |  |  |
| `getUndoActions` | `getUndoActions(): readonly string[];` |  |  |
| `getRedoActions` | `getRedoActions(): readonly string[];` |  |  |
| `clearUndo` | `clearUndo(): void;` |  |  |
| `clearRedo` | `clearRedo(): void;` |  |  |
| `setLoading` | `setLoading(loading: boolean): void;` |  |  |
| `getState` | `getState(): GanttState;` |  |  |
| `restoreState` | `restoreState(state: GanttState): void;` |  |  |
| `exportToExcel` | `exportToExcel(options?: GanttGridExportOptions<Row> & {     readonly sheetName?: string; }): Promise<GanttExportFile<Uint8Array> \| null>;` |  | The grid pane's Excel export with the Data Grid `cell` / `headerCell` hooks; tree rows as outline levels. |
| `exportToCsv` | `exportToCsv(options?: GanttGridExportOptions<Row> & {     readonly separator?: string;     readonly escapeFormulas?: boolean; }): Promise<GanttExportFile<string> \| null>;` |  |  |
| `exportToPdf` | `exportToPdf(options?: GanttPdfExportOptions<Row>): Promise<GanttExportFile<Uint8Array> \| null>;` |  |  |
| `print` | `print(): void;` |  |  |
| `getTaskbarElement` | `getTaskbarElement(id: RowId): HTMLElement \| null;` |  |  |
| `getChartElement` | `getChartElement(): HTMLElement \| null;` |  |  |
| `getColumn` | `getColumn: (fieldOrId: string) => CompiledColumn<Row> \| undefined;` | inherited | Leaf column by column id, else the first leaf with that `field`. |
| `getColumns` | `getColumns: () => readonly CompiledColumn<Row>[];` | inherited | Every leaf column in definition order, including hidden ones. |
| `getVisibleColumns` | `getVisibleColumns: () => readonly CompiledColumn<Row>[];` | inherited | Visible leaves in runtime order. |
| `getHiddenColumns` | `getHiddenColumns: () => readonly CompiledColumn<Row>[];` | inherited | Leaves hidden at runtime, in definition order. |
| `getColumnAt` | `getColumnAt: (index: number) => CompiledColumn<Row> \| undefined;` | inherited | Visible leaf at an index of `getVisibleColumns()`. |
| `getColumnIndex` | `getColumnIndex: (fieldOrId: string) => number;` | inherited | Index of a column in `getVisibleColumns()`, or -1. |
| `showColumns` | `showColumns: (fieldsOrIds: string \| readonly string[]) => CommandResult;` | inherited |  |
| `hideColumns` | `hideColumns: (fieldsOrIds: string \| readonly string[]) => CommandResult;` | inherited |  |
| `getFilteredRows` | `getFilteredRows: () => readonly Row[];` | inherited | Rows passing search and every filter, in sort order, across every page, as raw references. Without the `filter` module, every row. |
| `getRow` | `getRow: (rowId: string) => Row \| undefined;` | inherited |  |
| `getRowIndex` | `getRowIndex: (rowId: string) => number;` | inherited | Visible index of a row, or -1. |
| `getRowIdAt` | `getRowIdAt: (index: number) => string \| undefined;` | inherited | Row id at a visible index (the inverse of `getRowIndex`), or undefined. |
| `getCell` | `getCell: (rowId: string, field: string) => CellSnapshot \| undefined;` | inherited |  |
| `getDataSource` | `getDataSource: () => DataSource<Row>;` | inherited |  |
| `getPrimaryKeyFields` | `getPrimaryKeyFields: () => readonly string[];` | inherited | `field` of each `primaryKey` leaf column, in column order. |
| `getColumnFacet` | `getColumnFacet: (field: string, options?: FacetOptions \| undefined) => ColumnFacet \| undefined;` | inherited | Distinct values with counts for checkbox / Excel filters, or undefined without the `filter` module. |
| `getPageInfo` | `getPageInfo: () => PageInfo \| undefined;` | inherited | Pager model, or undefined without the `paging` module. |
| `groupColumn` | `groupColumn: (field: string, index?: number \| undefined) => CommandResult;` | inherited | Needs the `grouping` module. |
| `ungroupColumn` | `ungroupColumn: (field: string) => CommandResult;` | inherited |  |
| `clearGrouping` | `clearGrouping: () => CommandResult;` | inherited |  |
| `toggleGroup` | `toggleGroup: (group: GroupTarget, expanded?: boolean \| undefined) => CommandResult;` | inherited | Toggles (or sets) one group by row id, path key, or path. |
| `expandAllGroups` | `expandAllGroups: () => CommandResult;` | inherited |  |
| `collapseAllGroups` | `collapseAllGroups: () => CommandResult;` | inherited |  |
| `getGroup` | `getGroup: (rowId: string) => GroupRowSnapshot \| undefined;` | inherited | Caption or footer snapshot of a group row id, or undefined. |
| `getAggregates` | `getAggregates: (groupId?: string \| undefined) => Readonly<Record<string, Readonly<Record<string, unknown>>>> \| undefined;` | inherited | Without an argument the footer aggregates (undefined without the `aggregates` module); with a group row id that group's aggregates (undefined for an unknown id). |
| `refresh` | `refresh: () => void;` | inherited | Re-reads the data with the current query and keeps the grid state: `engine.refresh()`. |
| `dispose` | `dispose: () => void;` | inherited |  |
| `resetState` | `resetState: () => RestoreResult;` | inherited | Restores the state captured when this API was created. |
| `pinColumn` | `pinColumn: (field: string, pinned: DataGridColumnPin \| null) => CommandResult;` | inherited | Pins a column (id or field) to a side or unpins it (`null`). |
| `openColumnChooser` | `openColumnChooser: (position?: { readonly x: number; readonly y: number; } \| undefined) => void;` | inherited | Opens the column chooser; at the given viewport point, else at the grid start. |
| `openColumnMenu` | `openColumnMenu: (field: string) => void;` | inherited |  |
| `openFilterMenu` | `openFilterMenu: (field: string) => void;` | inherited |  |
| `closeOverlays` | `closeOverlays: () => void;` | inherited | Closes any open menu, dialog, or chooser (focus returns to its invoker). |
| `registerCommandHandler` | `registerCommandHandler: (command: DataGridUiCommand \| (string & {}), handler: DataGridCommandHandler) => () => void;` | inherited | Registers the handler of a UI command (toolbar, menus); returns the unregister function. |
| `runCommand` | `runCommand: (command: DataGridUiCommand \| (string & {}), payload?: Readonly<Record<string, unknown>> \| undefined) => boolean;` | inherited | Runs a UI command (handler, then a module command, else a dev warning). Returns true when handled. |
| `getHeaderElement` | `getHeaderElement: (field: string) => HTMLElement \| null;` | inherited | Header cell of a column (id or field); `null` outside the rendered window. |
| `getPartElement` | `getPartElement: (part: DataGridPart) => HTMLElement \| null;` | inherited | First rendered element of a part; `null` when it is not rendered. |
| `openSortDialog` | `openSortDialog: () => void;` | inherited | Opens the sort sheet (`showAdaptiveSortDialog`). |
| `openFilterDialog` | `openFilterDialog: (field?: string \| undefined) => void;` | inherited | Opens the filter sheet of `field`, or the list of filterable columns (`showAdaptiveFilterDialog`). |
| `isAdaptive` | `isAdaptive: () => boolean;` | inherited | True while the adaptive layout applies (derived from the measured container width). *Salmon* |
| `copy` | `copy: (options?: DataGridCopyOptions \| undefined) => CommandResult;` | inherited | Copies the cell range, else the selected rows, else the focused cell to the system clipboard (drafts included). Falls back to a copy dialog when the browser blocks clipboard access. `rejected` with `nothingToCopy` or `cancelled` (`onBeforeCopy`). |
| `paste` | `paste: (text?: string \| undefined) => CommandResult;` | inherited | Pastes TSV `text` at the selected range or focused cell. Without `text`, reads the system clipboard (`async`), or opens a paste dialog when the Clipboard API is unavailable. |
| `startEdit` | `startEdit: (rowId?: string \| undefined, field?: string \| undefined) => CommandResult;` | inherited | Row and dialog mode edit the row, batch and cell mode the cell. Without a row id: the first selected row. |
| `save` | `save: () => CommandResult;` | inherited | Saves: the active row or cell; in batch mode every pending change. |
| `saveCell` | `saveCell: () => CommandResult;` | inherited | Commits the active editor only (batch mode keeps the change pending). |
| `addRow` | `addRow: (row?: Readonly<Record<string, unknown>> \| undefined, index?: number \| undefined) => CommandResult;` | inherited | Index 0 adds at the top, at or past the end at the bottom. |
| `deleteRows` | `deleteRows: (rowIds?: string \| readonly string[] \| undefined) => CommandResult;` | inherited | Without ids: the selected rows. Batch mode marks the rows until save. |
| `updateRow` | `updateRow: (rowId: string, row: Readonly<Record<string, unknown>>) => CommandResult;` | inherited |  |
| `updateCell` | `updateCell: (rowId: string, field: string, value: unknown) => CommandResult;` | inherited | Edits a cell as a user would (draft in batch mode). |
| `setCellValue` | `setCellValue: (rowId: string, field: string, value: unknown) => CommandResult;` | inherited | Silent data updates without the edit lifecycle (local sources). |
| `setRowData` | `setRowData: (rowId: string, row: Row) => CommandResult;` | inherited |  |
| `applyChanges` | `applyChanges: (changes: EditDataChanges<Row>) => CommandResult;` | inherited |  |
| `getPendingChanges` | `getPendingChanges: () => EditBatchChanges<Row>;` | inherited |  |
| `getBatchPreview` | `getBatchPreview: () => EditPreview \| undefined;` | inherited |  |
| `getEditSnapshot` | `getEditSnapshot: () => EditSnapshot \| undefined;` | inherited |  |
| `hasUnsavedChanges` | `hasUnsavedChanges: () => boolean;` | inherited |  |
| `whenEditSettled` | `whenEditSettled: () => Promise<void>;` | inherited |  |
| `validateBatch` | `validateBatch: () => Promise<boolean>;` | inherited | Validates every pending change without saving; resolves true when valid. |
| `fillSelection` | `fillSelection: (rowId: string, field: string) => CommandResult;` | inherited | Fills the selected cell range's content over the range extended to `field` of `rowId` (fill handle). |
| `sortColumn` | `sortColumn: (field: string, direction: DataGridSortDirection, options?: { multiple?: boolean; } \| undefined) => CommandResult;` | inherited | Sorts by a column; `multiple` adds it to a multi-column sort. |
| `removeSort` | `removeSort: (field: string) => CommandResult;` | inherited |  |
| `clearSorting` | `clearSorting: () => CommandResult;` | inherited |  |
| `filterColumn` | `filterColumn: (field: string, operator: DataGridFilterOperator, value: Json, options?: { logic?: "and" \| "or"; matchCase?: boolean; ignoreAccents?: boolean; } \| undefined) => CommandResult;` | inherited | Replaces the column's top-level conditions with one condition (an array value with a scalar operator ORs one condition per value). |
| `removeFilter` | `removeFilter: (field: string) => CommandResult;` | inherited | Removes the filters of one column. |
| `clearFiltering` | `clearFiltering: (fields?: string \| readonly string[] \| undefined) => CommandResult;` | inherited | Removes the filters of the given columns, or every filter. |
| `search` | `search: (text: string) => CommandResult;` | inherited |  |
| `clearSearch` | `clearSearch: () => CommandResult;` | inherited |  |
| `goToPage` | `goToPage: (page: number) => CommandResult;` | inherited |  |
| `setPageSize` | `setPageSize: (pageSize: number) => CommandResult;` | inherited |  |
| `expandDetail` | `expandDetail: (rowId: string) => CommandResult;` | inherited |  |
| `collapseDetail` | `collapseDetail: (rowId: string) => CommandResult;` | inherited |  |
| `toggleDetail` | `toggleDetail: (rowId: string, expanded?: boolean \| undefined) => CommandResult;` | inherited | Toggles one detail row; `expanded` forces a state. |
| `expandAllDetails` | `expandAllDetails: () => CommandResult;` | inherited |  |
| `collapseAllDetails` | `collapseAllDetails: () => CommandResult;` | inherited |  |
| `isDetailExpanded` | `isDetailExpanded: (rowId: string) => boolean;` | inherited |  |
| `getChildGrid` | `getChildGrid: (rowId: string) => DataGridApi<unknown> \| null;` | inherited | The mounted child grid of a parent row (null when collapsed or not rendered). |
| `moveRows` | `moveRows: (rowIds: string \| readonly string[], to: number \| DataGridMoveTarget) => CommandResult;` | inherited | Moves rows so the first one ends at data row index `toIndex`, or next to / into a target row (`{ targetRowId, position }`; `into` makes them the last children of the target in tree mode). |
| `expandAllTreeRows` | `expandAllTreeRows: () => CommandResult;` | inherited |  |
| `collapseAllTreeRows` | `collapseAllTreeRows: () => CommandResult;` | inherited |  |
| `expandTreeLevel` | `expandTreeLevel: (depth: number) => CommandResult;` | inherited | Expands the parents at `depth` (0: roots). |
| `collapseTreeLevel` | `collapseTreeLevel: (depth: number) => CommandResult;` | inherited |  |
| `expandTreeRows` | `expandTreeRows: (rowIds: string \| readonly string[]) => CommandResult;` | inherited |  |
| `collapseTreeRows` | `collapseTreeRows: (rowIds: string \| readonly string[]) => CommandResult;` | inherited |  |
| `toggleTreeRow` | `toggleTreeRow: (rowId: string, expanded?: boolean \| undefined) => CommandResult;` | inherited |  |
| `indentRows` | `indentRows: (rowIds: string \| readonly string[]) => CommandResult;` | inherited | Moves rows under their previous sibling. |
| `outdentRows` | `outdentRows: (rowIds: string \| readonly string[]) => CommandResult;` | inherited | Moves rows after their parent, as its siblings. |
| `getTreeRow` | `getTreeRow: (rowId: string) => DataGridTreeRowInfo \| null;` | inherited |  |
| `getChildRows` | `getChildRows: (rowId: string \| null) => readonly Row[];` | inherited | Kept children of a row in view order (`null`: the roots). |
| `reloadTreeChildren` | `reloadTreeChildren: (rowId: string) => CommandResult;` | inherited | *Salmon*: retries a failed lazy child load. |
| `getVisibleRows` | `getVisibleRows: () => readonly Row[];` | inherited | Visible data rows in view order. |
| `pinRows` | `pinRows: (rowIds: string \| readonly string[]) => CommandResult;` | inherited | Pins rows to the top zone (rejected unless `isRowPinned` or `defaultPinnedRows` is set). |
| `unpinRows` | `unpinRows: (rowIds: string \| readonly string[]) => CommandResult;` | inherited | Unpins rows, also rows `isRowPinned` matches. |
| `isRowPinned` | `isRowPinned: (rowId: string) => boolean;` | inherited | True when the row is pinned, whether or not the current filter shows it. |
| `getPinnedRowIds` | `getPinnedRowIds: () => readonly string[];` | inherited | Ids of the pinned rows shown, in display order. |
| `openFilterBuilder` | `openFilterBuilder: () => void;` | inherited | Opens the filter builder dialog. Ignored unless `filtering.builder` is set. |
| `closeFilterBuilder` | `closeFilterBuilder: () => void;` | inherited | Closes the filter builder dialog without applying. |
| `getViewport` | `getViewport: () => DataGridViewport;` | inherited | Scroll sync extension point: the current body viewport. |
| `subscribeViewport` | `subscribeViewport: (listener: () => void) => () => void;` | inherited | Calls `listener` outside React on every body scroll and layout change; returns the unsubscribe function. |
| `getRowOffsets` | `getRowOffsets: () => RowMetrics;` | inherited | Row height extension point: the row offsets of the visible row model (the body's own prefix sums). |
| `getPageSizeForHeight` | `getPageSizeForHeight: (height: number) => number;` | inherited | Whole data rows that fit in `height` px after the toolbar, group drop area, header rows, footer aggregate rows and pager; 0 when none fit. Rows count `rowHeight` (the estimate with measured rows, the card height in adaptive vertical mode). Before mount only the header and footer rows are subtracted. |
| `selectRows` | `selectRows: (rowIds: string \| readonly string[], options?: { mode?: "add" \| "remove" \| "replace" \| "toggle"; } \| undefined) => CommandResult;` | inherited |  |
| `selectRowRange` | `selectRowRange: (fromRowId: string, toRowId: string, options?: { mode?: "add" \| "replace"; } \| undefined) => CommandResult;` | inherited |  |
| `selectAll` | `selectAll: (options?: { scope?: "filtered" \| "page"; } \| undefined) => CommandResult;` | inherited | `page`: every row of the current page (all rows without paging). `filtered` (default with paging off): every row matching the query, O(1). |
| `clearSelection` | `clearSelection: (parts?: { rows?: boolean; cells?: boolean; columns?: boolean; } \| undefined) => CommandResult;` | inherited |  |
| `selectCells` | `selectCells: (cells: readonly DataGridCellKey[], options?: { mode?: "add" \| "replace" \| "toggle"; } \| undefined) => CommandResult;` | inherited |  |
| `selectCellRange` | `selectCellRange: (anchor: DataGridCellKey, focus: DataGridCellKey, options?: { mode?: "add" \| "replace"; } \| undefined) => CommandResult;` | inherited |  |
| `selectColumns` | `selectColumns: (fields: string \| readonly string[], options?: { mode?: "add" \| "replace" \| "toggle"; } \| undefined) => CommandResult;` | inherited |  |
| `isRowSelected` | `isRowSelected: (rowId: string) => boolean;` | inherited |  |
| `getSelectedRowIds` | `getSelectedRowIds: () => readonly string[];` | inherited |  |
| `getSelectedRows` | `getSelectedRows: () => readonly Row[];` | inherited | Raw rows, in the order of `getSelectedRowIds()`. |
| `getSelectedCells` | `getSelectedCells: () => readonly DataGridCellKey[];` | inherited |  |
| `getSelectedColumns` | `getSelectedColumns: () => readonly string[];` | inherited |  |
| `getSelection` | `getSelection: () => SerializedSelection \| undefined;` | inherited | Serializable selection (scope, ids or excluded ids, cell ranges, columns). |
| `setSelection` | `setSelection: (selection: SerializedSelection) => CommandResult;` | inherited |  |
| `getSelectionSummary` | `getSelectionSummary: () => SelectionSummary \| undefined;` | inherited |  |
| `engine` | `engine: DataGridApiEngine<Row>;` | inherited | The engine, with the façades of the optional modules a prop registers (`infiniteScroll`). |
| `element` | `element: HTMLDivElement \| null;` | inherited | The root element; null before mount and after unmount. |
| `focus` | `focus: () => void;` | inherited | Focuses the grid content: the focused body cell, else the last focused body cell, else the first body cell (also from the header, like Alt+W). |
| `focusCell` | `focusCell: (rowId: string, field: string) => void;` | inherited | Scrolls the cell into view and focuses it. |
| `focusHeader` | `focusHeader: (field: string) => void;` | inherited |  |
| `getFocusedCell` | `getFocusedCell: () => DataGridFocusedCell \| null;` | inherited |  |
| `registerKeyHandler` | `registerKeyHandler: (command: string, handler: DataGridKeyHandler, options?: { priority?: number; } \| undefined) => () => void;` | inherited | Registers a handler for a keyboard command (`DEFAULT_KEY_BINDINGS`); higher priority runs first. Returns the unregister function. |
| `getRowInfo` | `getRowInfo: (target: string \| Element \| EventTarget \| null) => DataGridRowInfo<Row> \| undefined;` | inherited | Row info by row id, or by any element inside a row (cell, custom template content). |
| `getRowElement` | `getRowElement: (rowId: string) => HTMLElement \| null;` | inherited |  |
| `getCellElement` | `getCellElement: (rowId: string, field: string) => HTMLElement \| null;` | inherited |  |
| `scrollToRow` | `scrollToRow: (rowId: string, options?: DataGridScrollOptions \| undefined) => void;` | inherited |  |
| `scrollToColumn` | `scrollToColumn: (field: string, options?: DataGridScrollOptions \| undefined) => void;` | inherited |  |
| `autoSizeColumns` | `autoSizeColumns: (fields?: string \| readonly string[] \| undefined) => void;` | inherited | Fits widths to header and rendered content; every visible column when omitted. |
| `setColumnWidth` | `setColumnWidth: (field: string, width: number) => CommandResult;` | inherited |  |
| `moveColumn` | `moveColumn: (field: string, toIndex: number) => CommandResult;` | inherited |  |
| `getRenderedRange` | `getRenderedRange: () => { readonly rows: VirtualRange; readonly columns: VirtualRange; };` | inherited | Rendered row range and center column range (overscan included). |

### GanttCalendar

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttCalendar

```ts
interface GanttCalendar {
    readonly id: string;
    readonly workingTime?: GanttWorkingTime;
    readonly exceptions?: readonly {
        readonly start: GanttDateInput;
        readonly end?: GanttDateInput;
        readonly ranges?: readonly {
            readonly from: number;
            readonly to: number;
        }[];
    }[];
}
```

A named working calendar. `exceptions` without `ranges` are non-working.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `workingTime` | `readonly workingTime?: GanttWorkingTime;` | optional |  |
| `exceptions` | `readonly exceptions?: readonly {     readonly start: GanttDateInput;     readonly end?: GanttDateInput;     readonly ranges?: readonly {         readonly from: number;         readonly to: number;     }[]; }[];` | optional |  |

### GanttChartPointerEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttChartPointerEvent

```ts
interface GanttChartPointerEvent<Row> extends GanttEvent {
    readonly date: Date;
    readonly taskId: RowId | null;
    readonly task: Row | null;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `date` | `readonly date: Date;` |  |  |
| `taskId` | `readonly taskId: RowId \| null;` |  |  |
| `task` | `readonly task: Row \| null;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttContextMenuItemClickEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttContextMenuItemClickEvent

```ts
interface GanttContextMenuItemClickEvent<Row> extends GanttEvent {
    readonly item: string;
    readonly taskId: RowId | null;
    readonly task: Row | null;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `item` | `readonly item: string;` |  |  |
| `taskId` | `readonly taskId: RowId \| null;` |  |  |
| `task` | `readonly task: Row \| null;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttContextMenuOpenEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttContextMenuOpenEvent

```ts
interface GanttContextMenuOpenEvent<Row> extends GanttEvent {
    readonly pane: 'grid' | 'chart';
    readonly taskId: RowId | null;
    readonly task: Row | null;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `pane` | `readonly pane: 'grid' \| 'chart';` |  |  |
| `taskId` | `readonly taskId: RowId \| null;` |  |  |
| `task` | `readonly task: Row \| null;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttDependency

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttDependency

```ts
interface Dependency {
    readonly id: TaskId;
    readonly type: DependencyType;
    readonly lag: number;
    readonly lagUnit: DurationUnit;
}
```

A link from a predecessor (`id`) to the task that owns it; `lag` in `lagUnit` of working time (negative = lead).

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: TaskId;` |  |  |
| `type` | `readonly type: DependencyType;` |  |  |
| `lag` | `readonly lag: number;` |  |  |
| `lagUnit` | `readonly lagUnit: DurationUnit;` |  |  |

### GanttDependencyChangeEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttDependencyChangeEvent

```ts
interface GanttDependencyChangeEvent<Row> extends GanttEvent {
    readonly action: 'add' | 'remove' | 'update';
    readonly taskId: RowId;
    readonly task: Row | null;
    readonly dependencies: readonly Dependency[];
    readonly previous: readonly Dependency[];
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `action` | `readonly action: 'add' \| 'remove' \| 'update';` |  |  |
| `taskId` | `readonly taskId: RowId;` |  |  |
| `task` | `readonly task: Row \| null;` |  |  |
| `dependencies` | `readonly dependencies: readonly Dependency[];` |  |  |
| `previous` | `readonly previous: readonly Dependency[];` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttDialogOpenEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttDialogOpenEvent

```ts
interface GanttDialogOpenEvent<Row> extends GanttEvent {
    readonly mode: 'add' | 'edit';
    readonly taskId: RowId | null;
    readonly task: Row | null;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `mode` | `readonly mode: 'add' \| 'edit';` |  |  |
| `taskId` | `readonly taskId: RowId \| null;` |  |  |
| `task` | `readonly task: Row \| null;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttEditing

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttEditing

```ts
interface GanttEditing<Row> {
    readonly mode?: 'cell' | 'row' | 'dialog' | 'auto';
    readonly edit?: boolean;
    readonly add?: boolean;
    readonly delete?: boolean;
    readonly taskbar?: boolean;
    readonly taskbarDragBetweenRows?: boolean;
    readonly newRowPosition?: 'top' | 'bottom' | 'above' | 'below' | 'child';
    readonly confirmDelete?: boolean;
    readonly dialogTabs?: readonly GanttDialogTab<Row>[];
}
```

`editing`.

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `mode` | `readonly mode?: 'cell' \| 'row' \| 'dialog' \| 'auto';` | optional | Grid pane edit mode; `'auto'` is cell editing in the grid and the dialog from the chart. Default `'auto'`. |
| `edit` | `readonly edit?: boolean;` | optional |  |
| `add` | `readonly add?: boolean;` | optional |  |
| `delete` | `readonly delete?: boolean;` | optional |  |
| `taskbar` | `readonly taskbar?: boolean;` | optional | Taskbar drag, resize, progress and connect (default true when editable). |
| `taskbarDragBetweenRows` | `readonly taskbarDragBetweenRows?: boolean;` | optional | Dropping a taskbar on another row reparents (or reassigns in the resource view). |
| `newRowPosition` | `readonly newRowPosition?: 'top' \| 'bottom' \| 'above' \| 'below' \| 'child';` | optional |  |
| `confirmDelete` | `readonly confirmDelete?: boolean;` | optional |  |
| `dialogTabs` | `readonly dialogTabs?: readonly GanttDialogTab<Row>[];` | optional |  |

### GanttErrorEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttErrorEvent

```ts
interface GanttErrorEvent {
    readonly error: unknown;
    readonly action: string;
    readonly taskIds: readonly RowId[];
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `error` | `readonly error: unknown;` |  |  |
| `action` | `readonly action: string;` |  |  |
| `taskIds` | `readonly taskIds: readonly RowId[];` |  |  |

### GanttExportEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttExportEvent

```ts
interface GanttExportEvent extends GanttEvent {
    readonly format: 'excel' | 'csv' | 'pdf';
    readonly fileName: string;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `format` | `readonly format: 'excel' \| 'csv' \| 'pdf';` |  |  |
| `fileName` | `readonly fileName: string;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttExportFile

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttExportFile

```ts
interface GanttExportFile<T> {
    readonly fileName: string;
    readonly mimeType: string;
    readonly data: T;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `fileName` | `readonly fileName: string;` |  |  |
| `mimeType` | `readonly mimeType: string;` |  |  |
| `data` | `readonly data: T;` |  |  |

### GanttExportWriters

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttExportWriters

```ts
interface GanttExportWriters {
    readonly excel?: () => Promise<{
        readonly exportXlsx: unknown;
    }>;
    readonly pdf?: () => Promise<{
        readonly exportGanttPdf: unknown;
    }>;
}
```

Export writers: loaders of `@salmonui/export` subpaths.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `excel` | `readonly excel?: () => Promise<{     readonly exportXlsx: unknown; }>;` | optional |  |
| `pdf` | `readonly pdf?: () => Promise<{     readonly exportGanttPdf: unknown; }>;` | optional |  |

### GanttHoliday

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttHoliday

```ts
interface GanttHoliday {
    readonly start: GanttDateInput;
    readonly end?: GanttDateInput;
    readonly label?: string;
    readonly className?: string;
}
```

A holiday: shaded and non-working for the engine.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `start` | `readonly start: GanttDateInput;` |  |  |
| `end` | `readonly end?: GanttDateInput;` | optional | Inclusive day (default `start`). |
| `label` | `readonly label?: string;` | optional |  |
| `className` | `readonly className?: string;` | optional |  |

### GanttIndicator

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttIndicator

```ts
interface GanttIndicator {
    readonly date: GanttDateInput;
    readonly label?: string;
    readonly icon?: ReactNode;
    readonly tooltip?: string;
    readonly className?: string;
}
```

A task indicator.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `date` | `readonly date: GanttDateInput;` |  |  |
| `label` | `readonly label?: string;` | optional |  |
| `icon` | `readonly icon?: ReactNode;` | optional |  |
| `tooltip` | `readonly tooltip?: string;` | optional |  |
| `className` | `readonly className?: string;` | optional |  |

### GanttMarker

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttMarker

```ts
interface GanttMarker {
    readonly date: GanttDateInput;
    readonly label?: string;
    readonly className?: string;
}
```

An event marker.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `date` | `readonly date: GanttDateInput;` |  |  |
| `label` | `readonly label?: string;` | optional |  |
| `className` | `readonly className?: string;` | optional |  |

### GanttPdfExportOptions

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttPdfExportOptions

```ts
interface GanttPdfExportOptions<Row> {
    readonly fileName?: string;
    readonly pageSize?: 'A4' | 'A3' | 'Letter' | 'Legal' | {
        readonly width: number;
        readonly height: number;
    };
    readonly orientation?: 'portrait' | 'landscape';
    readonly fitToWidth?: boolean;
    readonly header?: string;
    readonly footer?: string;
    readonly font?: unknown;
    readonly cell?: (ctx: {
        readonly task: Row;
        readonly field: string;
        readonly value: unknown;
        text: string;
    }) => void;
    readonly headerCell?: (ctx: {
        readonly field: string;
        text: string;
    }) => void;
    readonly taskbar?: (ctx: {
        readonly task: Row;
        readonly info: GanttTaskInfo;
        color: string;
        progressColor: string;
    }) => void;
    readonly timelineCell?: (ctx: {
        readonly date: Date;
        readonly tier: 'top' | 'bottom';
        text: string;
    }) => void;
}
```

A PDF export.

Members (11):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `fileName` | `readonly fileName?: string;` | optional |  |
| `pageSize` | `readonly pageSize?: 'A4' \| 'A3' \| 'Letter' \| 'Legal' \| {     readonly width: number;     readonly height: number; };` | optional |  |
| `orientation` | `readonly orientation?: 'portrait' \| 'landscape';` | optional |  |
| `fitToWidth` | `readonly fitToWidth?: boolean;` | optional | Scales the chart so the whole timeline fits the page width. Default false (pages across). |
| `header` | `readonly header?: string;` | optional |  |
| `footer` | `readonly footer?: string;` | optional |  |
| `font` | `readonly font?: unknown;` | optional | A TrueType font for non-Latin text (the PDF writer's `font`). |
| `cell` | `readonly cell?: (ctx: {     readonly task: Row;     readonly field: string;     readonly value: unknown;     text: string; }) => void;` | optional |  |
| `headerCell` | `readonly headerCell?: (ctx: {     readonly field: string;     text: string; }) => void;` | optional |  |
| `taskbar` | `readonly taskbar?: (ctx: {     readonly task: Row;     readonly info: GanttTaskInfo;     color: string;     progressColor: string; }) => void;` | optional |  |
| `timelineCell` | `readonly timelineCell?: (ctx: {     readonly date: Date;     readonly tier: 'top' \| 'bottom';     text: string; }) => void;` | optional |  |

### GanttProps

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttProps

```ts
interface GanttProps<Row = Record<string, unknown>> extends Partial<GanttGridProps<Row>> {
    readonly data: readonly Row[] | DataSource<Row>;
    readonly taskFields?: GanttTaskFields;
    readonly columns?: readonly (GanttColumnPreset | DataGridColumn<Row>)[];
    readonly treeColumn?: string;
    readonly treeFilterMode?: 'ancestors' | 'descendants' | 'both' | 'none';
    readonly defaultExpanded?: 'all' | 'none' | boolean;
    readonly hasChildrenField?: string;
    readonly loadChildren?: (ctx: {
        readonly rowId: RowId;
        readonly row: Row;
        readonly signal: AbortSignal;
    }) => readonly Row[] | Promise<readonly Row[]>;
    readonly taskMode?: TaskMode;
    readonly autoSchedule?: boolean;
    readonly projectStart?: GanttDateInput | null;
    readonly projectEnd?: GanttDateInput | null;
    readonly workingTime?: GanttWorkingTime;
    readonly holidays?: readonly GanttHoliday[];
    readonly calendars?: readonly GanttCalendar[];
    readonly projectCalendar?: string;
    readonly durationUnit?: DurationUnit;
    readonly workUnit?: WorkUnit;
    readonly taskType?: TaskType;
    readonly dependencyTypes?: readonly DependencyType[];
    readonly validateDependencies?: boolean;
    readonly validateManualTasks?: boolean;
    readonly parentDependencies?: boolean;
    readonly dependencyLag?: {
        readonly normalizeOnLoad?: boolean;
        readonly updateOnTaskbarEdit?: boolean;
    };
    readonly unscheduledTasks?: boolean;
    readonly criticalPath?: boolean;
    readonly timeZone?: string;
    readonly locale?: string;
    readonly localeText?: GanttLocaleText;
    readonly dateFormat?: Intl.DateTimeFormatOptions | string;
    readonly wbs?: boolean | {
        readonly autoUpdate?: boolean;
    };
    readonly resources?: readonly GanttResource[];
    readonly resourceFields?: GanttResourceFields;
    readonly resourceView?: boolean;
    readonly overAllocation?: boolean;
    readonly multiTaskbar?: boolean;
    readonly taskbarOverlap?: boolean;
    readonly timeline?: GanttTimeline;
    readonly zoom?: number;
    readonly defaultZoom?: number;
    readonly zoomLevels?: readonly GanttZoomLevel[];
    readonly onZoomChange?: (event: GanttZoomChangeEvent) => void;
    readonly highlightWeekends?: boolean;
    readonly markers?: readonly GanttMarker[];
    readonly rowHeight?: number;
    readonly getRowHeight?: (row: Row) => number;
    readonly taskbarHeight?: number;
    readonly baselines?: boolean;
    readonly labels?: {
        readonly start?: GanttLabel<Row>;
        readonly end?: GanttLabel<Row>;
        readonly inside?: GanttLabel<Row>;
    };
    readonly tooltip?: boolean | GanttTooltipOptions<Row>;
    readonly onBeforeTooltipOpen?: (event: GanttTooltipOpenEvent<Row>) => void;
    readonly renderTaskbar?: (ctx: GanttTaskbarContext<Row>) => ReactNode;
    readonly renderParentTaskbar?: (ctx: GanttTaskbarContext<Row>) => ReactNode;
    readonly renderMilestone?: (ctx: GanttTaskbarContext<Row>) => ReactNode;
    readonly renderBaseline?: (ctx: GanttTaskbarContext<Row>) => ReactNode;
    readonly getTaskbarProps?: (ctx: GanttTaskbarContext<Row>) => GanttTaskbarProps | undefined;
    readonly connectorWidth?: number;
    readonly inlineNotes?: boolean;
    readonly focusTaskOnSelect?: boolean;
    readonly splitter?: GanttSplitter;
    readonly panes?: 'both' | 'grid' | 'chart';
    readonly adaptive?: boolean | GanttAdaptive;
    readonly readOnly?: boolean;
    readonly editing?: boolean | GanttEditing<Row>;
    readonly undo?: boolean | GanttUndo;
    readonly toolbar?: readonly GanttToolbarItem[];
    readonly onToolbarItemClick?: (event: GanttToolbarItemClickEvent) => void;
    readonly contextMenu?: boolean | readonly GanttContextMenuItem[];
    readonly onBeforeContextMenuOpen?: (event: GanttContextMenuOpenEvent<Row>) => void;
    readonly onContextMenuItemClick?: (event: GanttContextMenuItemClickEvent<Row>) => void;
    readonly onTaskbarEditStart?: (event: GanttTaskbarEditEvent<Row>) => void;
    readonly onTaskbarEdit?: (event: GanttTaskbarEditEvent<Row>) => void;
    readonly onBeforeTaskbarEditEnd?: (event: GanttTaskbarEditEvent<Row>) => void;
    readonly onTaskbarEditEnd?: (event: GanttTaskbarEditEvent<Row>) => void;
    readonly onBeforeDependencyChange?: (event: GanttDependencyChangeEvent<Row>) => void;
    readonly onDependencyChange?: (event: GanttDependencyChangeEvent<Row>) => void;
    readonly onScheduleConflict?: (event: GanttScheduleConflictEvent<Row>) => void;
    readonly onBeforeTaskChange?: (event: GanttTaskChangeEvent<Row>) => void;
    readonly onTaskChange?: (event: GanttTaskChangeEvent<Row>) => void;
    readonly onTaskbarClick?: (event: GanttTaskbarClickEvent<Row>) => void;
    readonly onChartPointerMove?: (event: GanttChartPointerEvent<Row>) => void;
    readonly onSplitterResizeStart?: (event: GanttSplitterEvent) => void;
    readonly onSplitterResize?: (event: GanttSplitterEvent) => void;
    readonly onSplitterResizeEnd?: (event: GanttSplitterEvent) => void;
    readonly onBeforeDialogOpen?: (event: GanttDialogOpenEvent<Row>) => void;
    readonly onBeforeExport?: (event: GanttExportEvent) => void;
    readonly onExport?: (event: GanttExportEvent) => void;
    readonly onError?: (event: GanttErrorEvent) => void;
    readonly onReady?: (api: GanttApi<Row>) => void;
    readonly onDataChange?: (rows: readonly Row[], event: GanttTaskChangeEvent<Row>) => void;
    readonly exportWriters?: GanttExportWriters;
    readonly height?: number | string;
    readonly width?: number | string;
    readonly dir?: 'ltr' | 'rtl' | 'auto';
    readonly className?: string;
    readonly style?: CSSProperties;
    readonly id?: string;
    readonly 'aria-label'?: string;
    readonly ref?: Ref<GanttApi<Row>>;
}
```

Members (156):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `data` | `readonly data: readonly Row[] \| DataSource<Row>;` |  | Tasks (nested `children` or flat `parentId`), or a `@salmonui/data` / Data Grid source. Reactive. |
| `taskFields` | `readonly taskFields?: GanttTaskFields;` | optional |  |
| `columns` | `readonly columns?: readonly (GanttColumnPreset \| DataGridColumn<Row>)[];` | optional | Grid pane columns: Data Grid columns or task column presets. Default title, start, end, duration, progress. |
| `treeColumn` | `readonly treeColumn?: string;` | optional | Field of the tree column. Default the title column. |
| `treeFilterMode` | `readonly treeFilterMode?: 'ancestors' \| 'descendants' \| 'both' \| 'none';` | optional | Rows a filter or search keeps around the matches (Data Grid `tree.filterMode`). Default `'ancestors'`. |
| `defaultExpanded` | `readonly defaultExpanded?: 'all' \| 'none' \| boolean;` | optional | `'all'` (default) or `'none'`; the `expanded` role wins per task. |
| `hasChildrenField` | `readonly hasChildrenField?: string;` | optional | Load children on demand: rows with this field true have children loaded on expand. |
| `loadChildren` | `readonly loadChildren?: (ctx: {     readonly rowId: RowId;     readonly row: Row;     readonly signal: AbortSignal; }) => readonly Row[] \| Promise<readonly Row[]>;` | optional |  |
| `taskMode` | `readonly taskMode?: TaskMode;` | optional |  |
| `autoSchedule` | `readonly autoSchedule?: boolean;` | optional |  |
| `projectStart` | `readonly projectStart?: GanttDateInput \| null;` | optional |  |
| `projectEnd` | `readonly projectEnd?: GanttDateInput \| null;` | optional |  |
| `workingTime` | `readonly workingTime?: GanttWorkingTime;` | optional |  |
| `holidays` | `readonly holidays?: readonly GanttHoliday[];` | optional |  |
| `calendars` | `readonly calendars?: readonly GanttCalendar[];` | optional |  |
| `projectCalendar` | `readonly projectCalendar?: string;` | optional |  |
| `durationUnit` | `readonly durationUnit?: DurationUnit;` | optional |  |
| `workUnit` | `readonly workUnit?: WorkUnit;` | optional |  |
| `taskType` | `readonly taskType?: TaskType;` | optional |  |
| `dependencyTypes` | `readonly dependencyTypes?: readonly DependencyType[];` | optional |  |
| `validateDependencies` | `readonly validateDependencies?: boolean;` | optional |  |
| `validateManualTasks` | `readonly validateManualTasks?: boolean;` | optional |  |
| `parentDependencies` | `readonly parentDependencies?: boolean;` | optional |  |
| `dependencyLag` | `readonly dependencyLag?: {     readonly normalizeOnLoad?: boolean;     readonly updateOnTaskbarEdit?: boolean; };` | optional |  |
| `unscheduledTasks` | `readonly unscheduledTasks?: boolean;` | optional |  |
| `criticalPath` | `readonly criticalPath?: boolean;` | optional |  |
| `timeZone` | `readonly timeZone?: string;` | optional | IANA zone the task dates are wall times in. Set it for SSR. |
| `locale` | `readonly locale?: string;` | optional |  |
| `localeText` | `readonly localeText?: GanttLocaleText;` | optional |  |
| `dateFormat` | `readonly dateFormat?: Intl.DateTimeFormatOptions \| string;` | optional | Column, label and tooltip date format: `Intl.DateTimeFormat` options, or a Data Grid format string (a skeleton such as `'yMMMd'` or a style such as `'short'`; a pattern such as `'dd.MM.yyyy'` formats the grid columns). |
| `wbs` | `readonly wbs?: boolean \| {     readonly autoUpdate?: boolean; };` | optional |  |
| `resources` | `readonly resources?: readonly GanttResource[];` | optional |  |
| `resourceFields` | `readonly resourceFields?: GanttResourceFields;` | optional |  |
| `resourceView` | `readonly resourceView?: boolean;` | optional |  |
| `overAllocation` | `readonly overAllocation?: boolean;` | optional |  |
| `multiTaskbar` | `readonly multiTaskbar?: boolean;` | optional |  |
| `taskbarOverlap` | `readonly taskbarOverlap?: boolean;` | optional |  |
| `timeline` | `readonly timeline?: GanttTimeline;` | optional |  |
| `zoom` | `readonly zoom?: number;` | optional | Zoom level index into `zoomLevels` (reactive) / `onZoomChange`. |
| `defaultZoom` | `readonly defaultZoom?: number;` | optional |  |
| `zoomLevels` | `readonly zoomLevels?: readonly GanttZoomLevel[];` | optional |  |
| `onZoomChange` | `readonly onZoomChange?: (event: GanttZoomChangeEvent) => void;` | optional |  |
| `highlightWeekends` | `readonly highlightWeekends?: boolean;` | optional |  |
| `markers` | `readonly markers?: readonly GanttMarker[];` | optional |  |
| `rowHeight` | `readonly rowHeight?: number;` | optional |  |
| `getRowHeight` | `readonly getRowHeight?: (row: Row) => number;` | optional | Per-row height (taller rows for baselines or lanes), shared with the grid through the row-height extension point. |
| `taskbarHeight` | `readonly taskbarHeight?: number;` | optional |  |
| `baselines` | `readonly baselines?: boolean;` | optional |  |
| `labels` | `readonly labels?: {     readonly start?: GanttLabel<Row>;     readonly end?: GanttLabel<Row>;     readonly inside?: GanttLabel<Row>; };` | optional |  |
| `tooltip` | `readonly tooltip?: boolean \| GanttTooltipOptions<Row>;` | optional |  |
| `onBeforeTooltipOpen` | `readonly onBeforeTooltipOpen?: (event: GanttTooltipOpenEvent<Row>) => void;` | optional |  |
| `renderTaskbar` | `readonly renderTaskbar?: (ctx: GanttTaskbarContext<Row>) => ReactNode;` | optional |  |
| `renderParentTaskbar` | `readonly renderParentTaskbar?: (ctx: GanttTaskbarContext<Row>) => ReactNode;` | optional |  |
| `renderMilestone` | `readonly renderMilestone?: (ctx: GanttTaskbarContext<Row>) => ReactNode;` | optional |  |
| `renderBaseline` | `readonly renderBaseline?: (ctx: GanttTaskbarContext<Row>) => ReactNode;` | optional |  |
| `getTaskbarProps` | `readonly getTaskbarProps?: (ctx: GanttTaskbarContext<Row>) => GanttTaskbarProps \| undefined;` | optional |  |
| `connectorWidth` | `readonly connectorWidth?: number;` | optional |  |
| `inlineNotes` | `readonly inlineNotes?: boolean;` | optional |  |
| `focusTaskOnSelect` | `readonly focusTaskOnSelect?: boolean;` | optional |  |
| `splitter` | `readonly splitter?: GanttSplitter;` | optional |  |
| `panes` | `readonly panes?: 'both' \| 'grid' \| 'chart';` | optional |  |
| `adaptive` | `readonly adaptive?: boolean \| GanttAdaptive;` | optional | Adaptive UI: one pane at a time with a pane switch and full-screen dialogs; `true` always (server markup included), `{ breakpoint }` below the container width (measured after hydration). |
| `readOnly` | `readonly readOnly?: boolean;` | optional |  |
| `editing` | `readonly editing?: boolean \| GanttEditing<Row>;` | optional |  |
| `undo` | `readonly undo?: boolean \| GanttUndo;` | optional |  |
| `toolbar` | `readonly toolbar?: readonly GanttToolbarItem[];` | optional |  |
| `onToolbarItemClick` | `readonly onToolbarItemClick?: (event: GanttToolbarItemClickEvent) => void;` | optional |  |
| `contextMenu` | `readonly contextMenu?: boolean \| readonly GanttContextMenuItem[];` | optional | Context menu of both panes: Gantt items, Data Grid items and custom items; `true` for the default set. |
| `onBeforeContextMenuOpen` | `readonly onBeforeContextMenuOpen?: (event: GanttContextMenuOpenEvent<Row>) => void;` | optional |  |
| `onContextMenuItemClick` | `readonly onContextMenuItemClick?: (event: GanttContextMenuItemClickEvent<Row>) => void;` | optional |  |
| `onTaskbarEditStart` | `readonly onTaskbarEditStart?: (event: GanttTaskbarEditEvent<Row>) => void;` | optional |  |
| `onTaskbarEdit` | `readonly onTaskbarEdit?: (event: GanttTaskbarEditEvent<Row>) => void;` | optional | At most once per animation frame. |
| `onBeforeTaskbarEditEnd` | `readonly onBeforeTaskbarEditEnd?: (event: GanttTaskbarEditEvent<Row>) => void;` | optional |  |
| `onTaskbarEditEnd` | `readonly onTaskbarEditEnd?: (event: GanttTaskbarEditEvent<Row>) => void;` | optional |  |
| `onBeforeDependencyChange` | `readonly onBeforeDependencyChange?: (event: GanttDependencyChangeEvent<Row>) => void;` | optional |  |
| `onDependencyChange` | `readonly onDependencyChange?: (event: GanttDependencyChangeEvent<Row>) => void;` | optional |  |
| `onScheduleConflict` | `readonly onScheduleConflict?: (event: GanttScheduleConflictEvent<Row>) => void;` | optional |  |
| `onBeforeTaskChange` | `readonly onBeforeTaskChange?: (event: GanttTaskChangeEvent<Row>) => void;` | optional |  |
| `onTaskChange` | `readonly onTaskChange?: (event: GanttTaskChangeEvent<Row>) => void;` | optional |  |
| `onTaskbarClick` | `readonly onTaskbarClick?: (event: GanttTaskbarClickEvent<Row>) => void;` | optional |  |
| `onChartPointerMove` | `readonly onChartPointerMove?: (event: GanttChartPointerEvent<Row>) => void;` | optional | At most once per animation frame. |
| `onSplitterResizeStart` | `readonly onSplitterResizeStart?: (event: GanttSplitterEvent) => void;` | optional |  |
| `onSplitterResize` | `readonly onSplitterResize?: (event: GanttSplitterEvent) => void;` | optional |  |
| `onSplitterResizeEnd` | `readonly onSplitterResizeEnd?: (event: GanttSplitterEvent) => void;` | optional |  |
| `onBeforeDialogOpen` | `readonly onBeforeDialogOpen?: (event: GanttDialogOpenEvent<Row>) => void;` | optional |  |
| `onBeforeExport` | `readonly onBeforeExport?: (event: GanttExportEvent) => void;` | optional |  |
| `onExport` | `readonly onExport?: (event: GanttExportEvent) => void;` | optional |  |
| `onError` | `readonly onError?: (event: GanttErrorEvent) => void;` | optional |  |
| `onReady` | `readonly onReady?: (api: GanttApi<Row>) => void;` | optional |  |
| `onDataChange` | `readonly onDataChange?: (rows: readonly Row[], event: GanttTaskChangeEvent<Row>) => void;` | optional | Writes the changed rows back (local `data`): called once per committed change with the full new array. |
| `exportWriters` | `readonly exportWriters?: GanttExportWriters;` | optional |  |
| `height` | `readonly height?: number \| string;` | optional |  |
| `width` | `readonly width?: number \| string;` | optional |  |
| `dir` | `readonly dir?: 'ltr' \| 'rtl' \| 'auto';` | optional |  |
| `className` | `readonly className?: string;` | optional |  |
| `style` | `readonly style?: CSSProperties;` | optional |  |
| `id` | `readonly id?: string;` | optional |  |
| `aria-label` | `readonly 'aria-label'?: string;` | optional |  |
| `ref` | `readonly ref?: Ref<GanttApi<Row>>;` | optional |  |
| `columnMenu` | `columnMenu?: boolean \| readonly (DataGridMenuItem \| DataGridColumnMenuItemId)[];` | optional, inherited | Column menu; an array lists the items in order (built-in ids or custom items). `column.menu: false` opts a column out. |
| `columnChooser` | `columnChooser?: boolean \| DataGridColumnChooser<Row>;` | optional, inherited |  |
| `renderContextMenu` | `renderContextMenu?: ((ctx: DataGridContextMenuContext) => ReactNode);` | optional, inherited |  |
| `onColumnResizeStart` | `onColumnResizeStart?: ((event: DataGridColumnResizeEvent) => void);` | optional, inherited |  |
| `onColumnResize` | `onColumnResize?: ((event: DataGridColumnResizeEvent) => void);` | optional, inherited |  |
| `onColumnResizeEnd` | `onColumnResizeEnd?: ((event: DataGridColumnResizeEvent) => void);` | optional, inherited |  |
| `onBeforeEditStart` | `onBeforeEditStart?: ((event: DataGridEditStartEvent<Row>) => void);` | optional, inherited |  |
| `onBeforeCellValueChange` | `onBeforeCellValueChange?: ((event: DataGridCellValueChangeEvent) => void);` | optional, inherited |  |
| `onBeforeSave` | `onBeforeSave?: ((event: DataGridSaveEvent<Row>) => void);` | optional, inherited |  |
| `onSave` | `onSave?: ((event: DataGridSaveEvent<Row>) => void);` | optional, inherited |  |
| `sorting` | `sorting?: boolean \| DataGridSorting;` | optional, inherited | `true` or options: header sorting. |
| `filtering` | `filtering?: boolean \| DataGridFiltering;` | optional, inherited | `true` or options: filtering and its UI. |
| `search` | `search?: boolean \| DataGridSearch;` | optional, inherited | `true` or options: searching. |
| `onBeforeSortChange` | `onBeforeSortChange?: ((event: DataGridSortChangeEvent) => void);` | optional, inherited |  |
| `onSortChange` | `onSortChange?: ((event: DataGridSortChangeEvent) => void);` | optional, inherited |  |
| `onBeforeFilterChange` | `onBeforeFilterChange?: ((event: DataGridFilterChangeEvent) => void);` | optional, inherited |  |
| `onFilterChange` | `onFilterChange?: ((event: DataGridFilterChangeEvent) => void);` | optional, inherited |  |
| `onBeforeSearchChange` | `onBeforeSearchChange?: ((event: DataGridSearchChangeEvent) => void);` | optional, inherited |  |
| `onSearchChange` | `onSearchChange?: ((event: DataGridSearchChangeEvent) => void);` | optional, inherited |  |
| `rowDrag` | `rowDrag?: boolean \| DataGridRowDrag;` | optional, inherited | Row drag and drop with a drag handle column; `true` reorders within the grid. |
| `onRowDragStart` | `onRowDragStart?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited | Cancel with `event.preventDefault()`. |
| `onRowDrag` | `onRowDrag?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited | Once per animation frame while dragging. |
| `onBeforeRowDrop` | `onBeforeRowDrop?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited | Cancel with `event.preventDefault()`. |
| `onRowDrop` | `onRowDrop?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited |  |
| `loadingIndicator` | `loadingIndicator?: "skeleton" \| "spinner";` | optional, inherited | Built-in loading indicator. Default `spinner`. |
| `onRowClick` | `onRowClick?: ((event: DataGridRowClickEvent<Row>) => void);` | optional, inherited | A data row was clicked. `preventDefault()` skips the built-in selection and focus. |
| `onRowDoubleClick` | `onRowDoubleClick?: ((event: DataGridRowClickEvent<Row>) => void);` | optional, inherited | A data row was double-clicked. `preventDefault()` skips the built-in edit start. |
| `onCellClick` | `onCellClick?: ((event: DataGridCellClickEvent<Row>) => void);` | optional, inherited | A cell of a data row was clicked; fires before `onRowClick`. |
| `onBeforeTreeToggle` | `onBeforeTreeToggle?: ((event: DataGridTreeToggleEvent<Row>) => void);` | optional, inherited |  |
| `onTreeToggle` | `onTreeToggle?: ((event: DataGridTreeToggleEvent<Row>) => void);` | optional, inherited |  |
| `features` | `features?: readonly DataGridFeature[];` | optional, inherited | *Salmon*. Render features to use synchronously, from `@salmonui/data-grid/features`. Optional: a grid loads the features its props need on demand; features passed here skip that load (no placeholder on a client-only render). Read at creation. |
| `currency` | `currency?: string;` | optional, inherited |  |
| `virtualization` | `virtualization?: boolean \| DataGridVirtualization;` | optional, inherited | Row and column virtualization; `true` (default) for the defaults, `false` renders every row and column. |
| `initialRows` | `initialRows?: number;` | optional, inherited | Rows in the deterministic server/initial range. Default 20. |
| `textWrap` | `textWrap?: DataGridTextWrap;` | optional, inherited |  |
| `gridLines` | `gridLines?: DataGridLines;` | optional, inherited |  |
| `overflow` | `overflow?: DataGridOverflow;` | optional, inherited | Default text overflow of every column. Default `ellipsis`. |
| `highlightOnHover` | `highlightOnHover?: boolean;` | optional, inherited | Row hover highlight. Default true. |
| `striped` | `striped?: boolean;` | optional, inherited | Alternate row shading. Default true. |
| `resizable` | `resizable?: boolean;` | optional, inherited | Pointer and keyboard column resize. Default false; column `resizable` refines it. |
| `resizeMode` | `resizeMode?: "auto" \| "normal";` | optional, inherited | Column fit. `'normal'` (default): widths are kept, leaving empty space or scrolling. `'auto'`: when the columns are narrower than the grid they stretch proportionally to fill it, and a pointer resize re-fits the other columns. |
| `reorderable` | `reorderable?: boolean;` | optional, inherited | Pointer and keyboard column reorder. Default false; column `reorderable` refines it. |
| `onBeforeColumnVisibilityChange` | `onBeforeColumnVisibilityChange?: ((event: DataGridColumnVisibilityChangeEvent) => void);` | optional, inherited |  |
| `onColumnVisibilityChange` | `onColumnVisibilityChange?: ((event: DataGridColumnVisibilityChangeEvent) => void);` | optional, inherited |  |
| `onBeforeColumnReorder` | `onBeforeColumnReorder?: ((event: DataGridColumnReorderEvent) => void);` | optional, inherited |  |
| `onColumnReorder` | `onColumnReorder?: ((event: DataGridColumnReorderEvent) => void);` | optional, inherited |  |
| `renderEmpty` | `renderEmpty?: ((ctx: DataGridEmptyContext) => ReactNode);` | optional, inherited |  |
| `onViewChange` | `onViewChange?: ((event: DataGridViewChangeEvent) => void);` | optional, inherited | Once per committed change of the displayed rows; never on scroll, focus, selection, or expansion. |
| `getRowProps` | `getRowProps?: ((row: Row, rowIndex: number, ctx: { readonly tree?: DataGridTreeContext; }) => DataGridElementProps \| undefined);` | optional, inherited | Called for rendered rows only; `ctx.tree` in tree mode. |
| `rowClassName` | `rowClassName?: ((row: Row, rowIndex: number) => string \| undefined);` | optional, inherited |  |
| `getCellProps` | `getCellProps?: ((ctx: DataGridCellContext<Row>) => DataGridElementProps \| undefined);` | optional, inherited | Called for rendered cells only. |
| `icons` | `icons?: Partial<Record<DataGridIconName, ReactNode>>;` | optional, inherited | Icon overrides by name: a node replaces the built-in SVG icon, `null` hides it. Merges over an enclosing `DataGridIconsProvider`. A component prop, not a theme input. |
| `selection` | `selection?: boolean \| DataGridSelection;` | optional, inherited | Selection. On by default: single row selection. `false` turns it off. |
| `onBeforeSelectionChange` | `onBeforeSelectionChange?: ((event: DataGridSelectionChangeEvent<Row>) => void);` | optional, inherited | Cancel with `event.preventDefault()`. |
| `onSelectionChange` | `onSelectionChange?: ((event: DataGridSelectionChangeEvent<Row>) => void);` | optional, inherited |  |
| `keyBindings` | `keyBindings?: Readonly<Record<string, readonly string[]>>;` | optional, inherited | Replaces the combos of keyboard commands (`{ 'selection.selectAll': ['Mod+Shift+L'] }`). Reactive: a changed value (compared by value) rebuilds the keymap. |
| `onKeyDown` | `onKeyDown?: ((ctx: DataGridKeyDownContext) => void);` | optional, inherited | Called for every key pressed in the grid before the built-in binding runs. |

### GanttResourceFields

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttResourceFields

```ts
interface GanttResourceFields {
    readonly id?: string;
    readonly name?: string;
    readonly unit?: string;
    readonly group?: string;
}
```

`resourceFields`. Defaults `id`, `name`, `unit`, `group`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id?: string;` | optional |  |
| `name` | `readonly name?: string;` | optional |  |
| `unit` | `readonly unit?: string;` | optional |  |
| `group` | `readonly group?: string;` | optional |  |

### GanttScheduleConflictEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttScheduleConflictEvent

```ts
interface GanttScheduleConflictEvent<Row> extends GanttEvent {
    readonly conflicts: readonly (ScheduleConflict & {
        readonly task: Row | null;
    })[];
    resolve(choice: 'move' | 'removeLink' | 'cancel'): void;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `conflicts` | `readonly conflicts: readonly (ScheduleConflict & {     readonly task: Row \| null; })[];` |  |  |
| `resolve` | `resolve(choice: 'move' \| 'removeLink' \| 'cancel'): void;` |  | Settles the conflict: keep the link and move the task, remove the link, or cancel the change. Default: the built-in dialog asks. |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttSplitter

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttSplitter

```ts
interface GanttSplitter {
    readonly position?: number | string;
    readonly columnIndex?: number;
    readonly minSize?: number;
}
```

`splitter`.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `position` | `readonly position?: number \| string;` | optional | Grid pane width (px or `'40%'`). |
| `columnIndex` | `readonly columnIndex?: number;` | optional | Grid pane ends after this column (wins over `position`). |
| `minSize` | `readonly minSize?: number;` | optional |  |

### GanttSplitterEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttSplitterEvent

```ts
interface GanttSplitterEvent extends GanttEvent {
    readonly position: number;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `position` | `readonly position: number;` |  | Grid pane width in px. |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttState

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttState

```ts
interface GanttState {
    readonly grid: unknown;
    readonly splitter: number | null;
    readonly zoom: number;
    readonly scrollDate: string | null;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `grid` | `readonly grid: unknown;` |  |  |
| `splitter` | `readonly splitter: number \| null;` |  |  |
| `zoom` | `readonly zoom: number;` |  |  |
| `scrollDate` | `readonly scrollDate: string \| null;` |  |  |

### GanttTaskChangeEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskChangeEvent

```ts
interface GanttTaskChangeEvent<Row> extends GanttEvent {
    readonly action: 'add' | 'update' | 'delete' | 'indent' | 'outdent' | 'move' | 'split' | 'merge' | 'undo' | 'redo';
    readonly taskIds: readonly RowId[];
    readonly rows: readonly Row[];
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `action` | `readonly action: 'add' \| 'update' \| 'delete' \| 'indent' \| 'outdent' \| 'move' \| 'split' \| 'merge' \| 'undo' \| 'redo';` |  |  |
| `taskIds` | `readonly taskIds: readonly RowId[];` |  |  |
| `rows` | `readonly rows: readonly Row[];` |  | The changed rows after the change (empty for deletes). |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttTaskFields

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskFields

```ts
interface GanttTaskFields {
    readonly id?: string;
    readonly title?: string;
    readonly start?: string;
    readonly end?: string;
    readonly duration?: string;
    readonly durationUnit?: string;
    readonly progress?: string;
    readonly parentId?: string;
    readonly children?: string;
    readonly predecessors?: string;
    readonly milestone?: string;
    readonly notes?: string;
    readonly baselineStart?: string;
    readonly baselineEnd?: string;
    readonly baselineDuration?: string;
    readonly resources?: string;
    readonly work?: string;
    readonly taskType?: string;
    readonly manual?: string;
    readonly segments?: string;
    readonly indicators?: string;
    readonly expanded?: string;
    readonly constraintType?: string;
    readonly constraintDate?: string;
    readonly calendar?: string;
    readonly className?: string;
}
```

`taskFields`: the row property that holds each task role. Defaults are the role names.

Members (26):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id?: string;` | optional |  |
| `title` | `readonly title?: string;` | optional |  |
| `start` | `readonly start?: string;` | optional |  |
| `end` | `readonly end?: string;` | optional |  |
| `duration` | `readonly duration?: string;` | optional |  |
| `durationUnit` | `readonly durationUnit?: string;` | optional |  |
| `progress` | `readonly progress?: string;` | optional |  |
| `parentId` | `readonly parentId?: string;` | optional | Flat data: the parent task id. |
| `children` | `readonly children?: string;` | optional | Nested data: the child task array. Default `'children'` when `parentId` is not mapped. |
| `predecessors` | `readonly predecessors?: string;` | optional |  |
| `milestone` | `readonly milestone?: string;` | optional |  |
| `notes` | `readonly notes?: string;` | optional |  |
| `baselineStart` | `readonly baselineStart?: string;` | optional |  |
| `baselineEnd` | `readonly baselineEnd?: string;` | optional |  |
| `baselineDuration` | `readonly baselineDuration?: string;` | optional |  |
| `resources` | `readonly resources?: string;` | optional |  |
| `work` | `readonly work?: string;` | optional |  |
| `taskType` | `readonly taskType?: string;` | optional |  |
| `manual` | `readonly manual?: string;` | optional |  |
| `segments` | `readonly segments?: string;` | optional |  |
| `indicators` | `readonly indicators?: string;` | optional |  |
| `expanded` | `readonly expanded?: string;` | optional |  |
| `constraintType` | `readonly constraintType?: string;` | optional |  |
| `constraintDate` | `readonly constraintDate?: string;` | optional |  |
| `calendar` | `readonly calendar?: string;` | optional |  |
| `className` | `readonly className?: string;` | optional |  |

### GanttTaskInfo

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskInfo

```ts
interface GanttTaskInfo {
    readonly id: RowId;
    readonly parentId: RowId | null;
    readonly level: number;
    readonly start: Date | null;
    readonly end: Date | null;
    readonly duration: number;
    readonly durationUnit: DurationUnit;
    readonly progress: number;
    readonly milestone: boolean;
    readonly parent: boolean;
    readonly manual: boolean;
    readonly unscheduled: boolean;
    readonly work: number;
    readonly wbs: string;
    readonly critical: boolean;
    readonly totalFloat: number;
    readonly predecessors: readonly Dependency[];
    readonly segments: readonly {
        readonly start: Date;
        readonly end: Date;
    }[] | null;
}
```

Computed task information (`getTaskInfo`).

Members (18):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: RowId;` |  |  |
| `parentId` | `readonly parentId: RowId \| null;` |  |  |
| `level` | `readonly level: number;` |  |  |
| `start` | `readonly start: Date \| null;` |  |  |
| `end` | `readonly end: Date \| null;` |  |  |
| `duration` | `readonly duration: number;` |  |  |
| `durationUnit` | `readonly durationUnit: DurationUnit;` |  |  |
| `progress` | `readonly progress: number;` |  |  |
| `milestone` | `readonly milestone: boolean;` |  |  |
| `parent` | `readonly parent: boolean;` |  |  |
| `manual` | `readonly manual: boolean;` |  |  |
| `unscheduled` | `readonly unscheduled: boolean;` |  |  |
| `work` | `readonly work: number;` |  |  |
| `wbs` | `readonly wbs: string;` |  |  |
| `critical` | `readonly critical: boolean;` |  |  |
| `totalFloat` | `readonly totalFloat: number;` |  | Total float in hours of working time (valid with `criticalPath`). |
| `predecessors` | `readonly predecessors: readonly Dependency[];` |  |  |
| `segments` | `readonly segments: readonly {     readonly start: Date;     readonly end: Date; }[] \| null;` |  |  |

### GanttTaskbarClickEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskbarClickEvent

```ts
interface GanttTaskbarClickEvent<Row> extends GanttEvent {
    readonly taskId: RowId;
    readonly task: Row;
    readonly target: 'taskbar' | 'milestone' | 'parent' | 'baseline' | 'connector' | 'label';
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `taskId` | `readonly taskId: RowId;` |  |  |
| `task` | `readonly task: Row;` |  |  |
| `target` | `readonly target: 'taskbar' \| 'milestone' \| 'parent' \| 'baseline' \| 'connector' \| 'label';` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttTaskbarContext

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskbarContext

```ts
interface GanttTaskbarContext<Row> {
    readonly task: Row;
    readonly info: GanttTaskInfo;
    readonly start: Date | null;
    readonly end: Date | null;
    readonly progress: number;
    readonly width: number;
    readonly critical: boolean;
    readonly selected: boolean;
}
```

A taskbar render context.

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `task` | `readonly task: Row;` |  |  |
| `info` | `readonly info: GanttTaskInfo;` |  |  |
| `start` | `readonly start: Date \| null;` |  |  |
| `end` | `readonly end: Date \| null;` |  |  |
| `progress` | `readonly progress: number;` |  |  |
| `width` | `readonly width: number;` |  |  |
| `critical` | `readonly critical: boolean;` |  |  |
| `selected` | `readonly selected: boolean;` |  |  |

### GanttTaskbarEditEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskbarEditEvent

```ts
interface GanttTaskbarEditEvent<Row> extends GanttEvent {
    readonly action: GanttTaskbarAction;
    readonly taskId: RowId;
    readonly task: Row;
    readonly start: Date | null;
    readonly end: Date | null;
    readonly progress: number;
    readonly dependency?: Dependency & {
        readonly to: RowId;
    };
    readonly segmentIndex?: number;
}
```

Members (12):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `action` | `readonly action: GanttTaskbarAction;` |  |  |
| `taskId` | `readonly taskId: RowId;` |  |  |
| `task` | `readonly task: Row;` |  |  |
| `start` | `readonly start: Date \| null;` |  | Proposed dates and progress (start of the edit in `onTaskbarEditStart`). |
| `end` | `readonly end: Date \| null;` |  |  |
| `progress` | `readonly progress: number;` |  |  |
| `dependency` | `readonly dependency?: Dependency & {     readonly to: RowId; };` | optional | For `'connect'`: the link being drawn. |
| `segmentIndex` | `readonly segmentIndex?: number;` | optional |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttTaskbarProps

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskbarProps

```ts
interface GanttTaskbarProps {
    readonly className?: string;
    readonly style?: CSSProperties;
    readonly [data: `data-${string}`]: string | number | boolean | undefined;
}
```

`getTaskbarProps` result: applied to the taskbar part.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `className` | `readonly className?: string;` | optional |  |
| `style` | `readonly style?: CSSProperties;` | optional |  |

### GanttTier

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTier

```ts
interface GanttTier {
    readonly unit: ScaleUnit;
    readonly count?: number;
    readonly format?: Intl.DateTimeFormatOptions;
    readonly render?: (ctx: GanttTimelineCellContext) => ReactNode;
}
```

One timeline tier.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `unit` | `readonly unit: ScaleUnit;` |  |  |
| `count` | `readonly count?: number;` | optional |  |
| `format` | `readonly format?: Intl.DateTimeFormatOptions;` | optional | `Intl.DateTimeFormat` options for the cell text. |
| `render` | `readonly render?: (ctx: GanttTimelineCellContext) => ReactNode;` | optional |  |

### GanttTimeline

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTimeline

```ts
interface GanttTimeline {
    readonly mode?: 'hour' | 'day' | 'week' | 'month' | 'year';
    readonly topTier?: GanttTier | null;
    readonly bottomTier?: GanttTier;
    readonly unitWidth?: number;
    readonly weekStart?: number;
    readonly renderCell?: (ctx: GanttTimelineCellContext) => ReactNode;
    readonly infinite?: boolean;
    readonly tooltips?: boolean;
}
```

`timeline`.

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `mode` | `readonly mode?: 'hour' \| 'day' \| 'week' \| 'month' \| 'year';` | optional | Tier preset. Default `'week'`. |
| `topTier` | `readonly topTier?: GanttTier \| null;` | optional |  |
| `bottomTier` | `readonly bottomTier?: GanttTier;` | optional |  |
| `unitWidth` | `readonly unitWidth?: number;` | optional | Width of one bottom-tier cell in px (`timelineUnitSize`). Default 33. |
| `weekStart` | `readonly weekStart?: number;` | optional | First day of week (0 = Sunday). Default from `locale`. |
| `renderCell` | `readonly renderCell?: (ctx: GanttTimelineCellContext) => ReactNode;` | optional |  |
| `infinite` | `readonly infinite?: boolean;` | optional | Extends the range when scrolled to an edge (`enableInfiniteTimelineScroll`). |
| `tooltips` | `readonly tooltips?: boolean;` | optional | Tier cell tooltips (the full date). Default true. |

### GanttTimelineCellContext

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTimelineCellContext

```ts
interface GanttTimelineCellContext {
    readonly tier: 'top' | 'bottom';
    readonly date: Date;
    readonly unit: ScaleUnit;
    readonly width: number;
    readonly text: string;
}
```

`timeline.renderCell` / tier `render` context.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `tier` | `readonly tier: 'top' \| 'bottom';` |  |  |
| `date` | `readonly date: Date;` |  | Cell start as a `Date` whose UTC fields are the wall time in `timeZone`. |
| `unit` | `readonly unit: ScaleUnit;` |  |  |
| `width` | `readonly width: number;` |  |  |
| `text` | `readonly text: string;` |  |  |

### GanttToolbarItemClickEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttToolbarItemClickEvent

```ts
interface GanttToolbarItemClickEvent extends GanttEvent {
    readonly item: string;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `item` | `readonly item: string;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttTooltipOpenEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTooltipOpenEvent

```ts
interface GanttTooltipOpenEvent<Row> extends GanttEvent {
    readonly kind: 'taskbar' | 'baseline' | 'connector' | 'timeline' | 'editing';
    readonly task: Row | null;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `readonly kind: 'taskbar' \| 'baseline' \| 'connector' \| 'timeline' \| 'editing';` |  |  |
| `task` | `readonly task: Row \| null;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttTooltipOptions

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttTooltipOptions

```ts
interface GanttTooltipOptions<Row> {
    readonly renderTaskbar?: (ctx: GanttTaskbarContext<Row>) => ReactNode;
    readonly renderBaseline?: (ctx: GanttTaskbarContext<Row>) => ReactNode;
    readonly renderConnector?: (ctx: {
        readonly from: Row;
        readonly to: Row;
        readonly dependency: Dependency;
    }) => ReactNode;
    readonly renderEditing?: (ctx: GanttTaskbarContext<Row> & {
        readonly action: GanttTaskbarAction;
    }) => ReactNode;
    readonly renderTimeline?: (ctx: GanttTimelineCellContext) => ReactNode;
}
```

`tooltip`.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `renderTaskbar` | `readonly renderTaskbar?: (ctx: GanttTaskbarContext<Row>) => ReactNode;` | optional |  |
| `renderBaseline` | `readonly renderBaseline?: (ctx: GanttTaskbarContext<Row>) => ReactNode;` | optional |  |
| `renderConnector` | `readonly renderConnector?: (ctx: {     readonly from: Row;     readonly to: Row;     readonly dependency: Dependency; }) => ReactNode;` | optional |  |
| `renderEditing` | `readonly renderEditing?: (ctx: GanttTaskbarContext<Row> & {     readonly action: GanttTaskbarAction; }) => ReactNode;` | optional |  |
| `renderTimeline` | `readonly renderTimeline?: (ctx: GanttTimelineCellContext) => ReactNode;` | optional |  |

### GanttUndo

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttUndo

```ts
interface GanttUndo {
    readonly actions?: readonly string[];
    readonly limit?: number;
}
```

`undo`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `actions` | `readonly actions?: readonly string[];` | optional |  |
| `limit` | `readonly limit?: number;` | optional |  |

### GanttWorkingTime

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttWorkingTime

```ts
interface GanttWorkingTime {
    readonly dayRanges?: readonly {
        readonly from: number;
        readonly to: number;
    }[];
    readonly week?: Partial<Readonly<Record<0 | 1 | 2 | 3 | 4 | 5 | 6, readonly {
        readonly from: number;
        readonly to: number;
    }[]>>>;
    readonly workDays?: readonly number[];
    readonly includeWeekend?: boolean;
    readonly hoursPerDay?: number;
    readonly daysPerWeek?: number;
    readonly daysPerMonth?: number;
}
```

`workingTime`: hours as decimals (`8`, `17.5`); `week` overrides `dayRanges` per weekday (0 = Sunday).

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `dayRanges` | `readonly dayRanges?: readonly {     readonly from: number;     readonly to: number; }[];` | optional |  |
| `week` | `readonly week?: Partial<Readonly<Record<0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6, readonly {     readonly from: number;     readonly to: number; }[]>>>;` | optional |  |
| `workDays` | `readonly workDays?: readonly number[];` | optional |  |
| `includeWeekend` | `readonly includeWeekend?: boolean;` | optional |  |
| `hoursPerDay` | `readonly hoursPerDay?: number;` | optional |  |
| `daysPerWeek` | `readonly daysPerWeek?: number;` | optional |  |
| `daysPerMonth` | `readonly daysPerMonth?: number;` | optional |  |

### GanttZoomChangeEvent

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttZoomChangeEvent

```ts
interface GanttZoomChangeEvent extends GanttEvent {
    readonly level: number;
    readonly previous: number;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `level` | `readonly level: number;` |  |  |
| `previous` | `readonly previous: number;` |  |  |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttZoomLevel

Kind: interface

Page: https://salmonui.dev/docs/reference/gantt/GanttZoomLevel

```ts
interface GanttZoomLevel {
    readonly top?: GanttTier | null;
    readonly bottom: GanttTier;
    readonly unitWidth?: number;
}
```

A zoom level: two tiers and the bottom-tier cell width.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `top` | `readonly top?: GanttTier \| null;` | optional |  |
| `bottom` | `readonly bottom: GanttTier;` |  |  |
| `unitWidth` | `readonly unitWidth?: number;` | optional |  |

## Types

### ConstraintType

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/ConstraintType

```ts
type ConstraintType = 'asSoonAsPossible' | 'asLateAsPossible' | 'startNoEarlierThan' | 'startNoLaterThan' | 'finishNoEarlierThan' | 'finishNoLaterThan' | 'mustStartOn' | 'mustFinishOn';
```

### GanttColumnPreset

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttColumnPreset

```ts
type GanttColumnPreset = 'title' | 'start' | 'end' | 'duration' | 'progress' | 'predecessors' | 'resources' | 'work' | 'taskType' | 'notes' | 'baselineStart' | 'baselineEnd' | 'wbs' | 'wbsPredecessors' | 'serialNumber' | 'id';
```

Task column presets.

### GanttContextMenuItem

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttContextMenuItem

```ts
type GanttContextMenuItem = GanttContextMenuItemId | DataGridContextMenuItemId | DataGridMenuItem;
```

### GanttContextMenuItemId

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttContextMenuItemId

```ts
type GanttContextMenuItemId = 'taskInformation' | 'deleteTask' | 'addAbove' | 'addBelow' | 'addChild' | 'addMilestone' | 'convertToTask' | 'convertToMilestone' | 'deleteDependency' | 'indent' | 'outdent' | 'splitTask' | 'mergeTask' | 'cancel';
```

Built-in context menu items.

### GanttDateInput

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttDateInput

```ts
type GanttDateInput = Date | string | number | {
    readonly year: number;
    readonly month: number;
    readonly day: number;
    readonly hour?: number;
    readonly minute?: number;
};
```

A date value accepted by the task roles: `Date`, ISO string, epoch ms or a plain date-time (`{ year, month, day, hour?, minute? }`).

### GanttDependencyType

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttDependencyType

```ts
type DependencyType = 'fs' | 'ss' | 'ff' | 'sf';
```

### GanttDialogTab

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttDialogTab

```ts
type GanttDialogTab<Row> = {
    readonly type: 'general' | 'dependency' | 'resources' | 'notes' | 'segments';
    readonly label?: string;
    readonly fields?: readonly string[];
} | {
    readonly type: 'custom';
    readonly label: string;
    readonly render: (ctx: {
        readonly task: Row | null;
        readonly values: Record<string, unknown>;
        readonly setValue: (field: string, value: unknown) => void;
    }) => ReactNode;
};
```

A dialog tab.

### GanttDurationUnit

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttDurationUnit

```ts
type DurationUnit = 'minute' | 'hour' | 'day';
```

### GanttEvent

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttEvent

```ts
type GanttEvent = DataGridEvent;
```

Base of Gantt events: the Data Grid event shape.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |

### GanttEventSource

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttEventSource

```ts
type GanttEventSource = 'pointer' | 'keyboard' | 'touch' | 'api';
```

### GanttGridExportOptions

Kind: type

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

```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. |

### GanttGridProps

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttGridProps

```ts
type GanttGridProps<Row> = Pick<DataGridProps<Row>, 'sorting' | 'onBeforeSortChange' | 'onSortChange' | 'filtering' | 'onBeforeFilterChange' | 'onFilterChange' | 'search' | 'onBeforeSearchChange' | 'onSearchChange' | 'selection' | 'onBeforeSelectionChange' | 'onSelectionChange' | 'columnMenu' | 'renderContextMenu' | 'reorderable' | 'onBeforeColumnReorder' | 'onColumnReorder' | 'resizable' | 'resizeMode' | 'onColumnResizeStart' | 'onColumnResize' | 'onColumnResizeEnd' | 'columnChooser' | 'onBeforeColumnVisibilityChange' | 'onColumnVisibilityChange' | 'gridLines' | 'highlightOnHover' | 'striped' | 'textWrap' | 'overflow' | 'getRowProps' | 'getCellProps' | 'rowClassName' | 'renderEmpty' | 'loadingIndicator' | 'onViewChange' | 'onRowDoubleClick' | 'onRowClick' | 'onCellClick' | 'rowDrag' | 'onBeforeRowDrop' | 'onRowDrop' | 'onRowDragStart' | 'onRowDrag' | 'onBeforeTreeToggle' | 'onTreeToggle' | 'onBeforeEditStart' | 'onBeforeCellValueChange' | 'onBeforeSave' | 'onSave' | 'keyBindings' | 'onKeyDown' | 'virtualization' | 'initialRows' | 'currency' | 'icons' | 'features'>;
```

Grid-pane props passed to the `DataGrid` unchanged (GGRID rows keep the Data Grid names).

Members (57):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnMenu` | `columnMenu?: boolean \| readonly (DataGridMenuItem \| DataGridColumnMenuItemId)[];` | optional, inherited | Column menu; an array lists the items in order (built-in ids or custom items). `column.menu: false` opts a column out. |
| `columnChooser` | `columnChooser?: boolean \| DataGridColumnChooser<Row>;` | optional, inherited |  |
| `renderContextMenu` | `renderContextMenu?: ((ctx: DataGridContextMenuContext) => ReactNode);` | optional, inherited |  |
| `onColumnResizeStart` | `onColumnResizeStart?: ((event: DataGridColumnResizeEvent) => void);` | optional, inherited |  |
| `onColumnResize` | `onColumnResize?: ((event: DataGridColumnResizeEvent) => void);` | optional, inherited |  |
| `onColumnResizeEnd` | `onColumnResizeEnd?: ((event: DataGridColumnResizeEvent) => void);` | optional, inherited |  |
| `onBeforeEditStart` | `onBeforeEditStart?: ((event: DataGridEditStartEvent<Row>) => void);` | optional, inherited |  |
| `onBeforeCellValueChange` | `onBeforeCellValueChange?: ((event: DataGridCellValueChangeEvent) => void);` | optional, inherited |  |
| `onBeforeSave` | `onBeforeSave?: ((event: DataGridSaveEvent<Row>) => void);` | optional, inherited |  |
| `onSave` | `onSave?: ((event: DataGridSaveEvent<Row>) => void);` | optional, inherited |  |
| `sorting` | `sorting?: boolean \| DataGridSorting;` | optional, inherited | `true` or options: header sorting. |
| `filtering` | `filtering?: boolean \| DataGridFiltering;` | optional, inherited | `true` or options: filtering and its UI. |
| `search` | `search?: boolean \| DataGridSearch;` | optional, inherited | `true` or options: searching. |
| `onBeforeSortChange` | `onBeforeSortChange?: ((event: DataGridSortChangeEvent) => void);` | optional, inherited |  |
| `onSortChange` | `onSortChange?: ((event: DataGridSortChangeEvent) => void);` | optional, inherited |  |
| `onBeforeFilterChange` | `onBeforeFilterChange?: ((event: DataGridFilterChangeEvent) => void);` | optional, inherited |  |
| `onFilterChange` | `onFilterChange?: ((event: DataGridFilterChangeEvent) => void);` | optional, inherited |  |
| `onBeforeSearchChange` | `onBeforeSearchChange?: ((event: DataGridSearchChangeEvent) => void);` | optional, inherited |  |
| `onSearchChange` | `onSearchChange?: ((event: DataGridSearchChangeEvent) => void);` | optional, inherited |  |
| `rowDrag` | `rowDrag?: boolean \| DataGridRowDrag;` | optional, inherited | Row drag and drop with a drag handle column; `true` reorders within the grid. |
| `onRowDragStart` | `onRowDragStart?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited | Cancel with `event.preventDefault()`. |
| `onRowDrag` | `onRowDrag?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited | Once per animation frame while dragging. |
| `onBeforeRowDrop` | `onBeforeRowDrop?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited | Cancel with `event.preventDefault()`. |
| `onRowDrop` | `onRowDrop?: ((event: DataGridRowDragEvent<Row>) => void);` | optional, inherited |  |
| `loadingIndicator` | `loadingIndicator?: "skeleton" \| "spinner";` | optional, inherited | Built-in loading indicator. Default `spinner`. |
| `onRowClick` | `onRowClick?: ((event: DataGridRowClickEvent<Row>) => void);` | optional, inherited | A data row was clicked. `preventDefault()` skips the built-in selection and focus. |
| `onRowDoubleClick` | `onRowDoubleClick?: ((event: DataGridRowClickEvent<Row>) => void);` | optional, inherited | A data row was double-clicked. `preventDefault()` skips the built-in edit start. |
| `onCellClick` | `onCellClick?: ((event: DataGridCellClickEvent<Row>) => void);` | optional, inherited | A cell of a data row was clicked; fires before `onRowClick`. |
| `onBeforeTreeToggle` | `onBeforeTreeToggle?: ((event: DataGridTreeToggleEvent<Row>) => void);` | optional, inherited |  |
| `onTreeToggle` | `onTreeToggle?: ((event: DataGridTreeToggleEvent<Row>) => void);` | optional, inherited |  |
| `features` | `features?: readonly DataGridFeature[];` | optional, inherited | *Salmon*. Render features to use synchronously, from `@salmonui/data-grid/features`. Optional: a grid loads the features its props need on demand; features passed here skip that load (no placeholder on a client-only render). Read at creation. |
| `currency` | `currency?: string;` | optional, inherited |  |
| `virtualization` | `virtualization?: boolean \| DataGridVirtualization;` | optional, inherited | Row and column virtualization; `true` (default) for the defaults, `false` renders every row and column. |
| `initialRows` | `initialRows?: number;` | optional, inherited | Rows in the deterministic server/initial range. Default 20. |
| `textWrap` | `textWrap?: DataGridTextWrap;` | optional, inherited |  |
| `gridLines` | `gridLines?: DataGridLines;` | optional, inherited |  |
| `overflow` | `overflow?: DataGridOverflow;` | optional, inherited | Default text overflow of every column. Default `ellipsis`. |
| `highlightOnHover` | `highlightOnHover?: boolean;` | optional, inherited | Row hover highlight. Default true. |
| `striped` | `striped?: boolean;` | optional, inherited | Alternate row shading. Default true. |
| `resizable` | `resizable?: boolean;` | optional, inherited | Pointer and keyboard column resize. Default false; column `resizable` refines it. |
| `resizeMode` | `resizeMode?: "auto" \| "normal";` | optional, inherited | Column fit. `'normal'` (default): widths are kept, leaving empty space or scrolling. `'auto'`: when the columns are narrower than the grid they stretch proportionally to fill it, and a pointer resize re-fits the other columns. |
| `reorderable` | `reorderable?: boolean;` | optional, inherited | Pointer and keyboard column reorder. Default false; column `reorderable` refines it. |
| `onBeforeColumnVisibilityChange` | `onBeforeColumnVisibilityChange?: ((event: DataGridColumnVisibilityChangeEvent) => void);` | optional, inherited |  |
| `onColumnVisibilityChange` | `onColumnVisibilityChange?: ((event: DataGridColumnVisibilityChangeEvent) => void);` | optional, inherited |  |
| `onBeforeColumnReorder` | `onBeforeColumnReorder?: ((event: DataGridColumnReorderEvent) => void);` | optional, inherited |  |
| `onColumnReorder` | `onColumnReorder?: ((event: DataGridColumnReorderEvent) => void);` | optional, inherited |  |
| `renderEmpty` | `renderEmpty?: ((ctx: DataGridEmptyContext) => ReactNode);` | optional, inherited |  |
| `onViewChange` | `onViewChange?: ((event: DataGridViewChangeEvent) => void);` | optional, inherited | Once per committed change of the displayed rows; never on scroll, focus, selection, or expansion. |
| `getRowProps` | `getRowProps?: ((row: Row, rowIndex: number, ctx: { readonly tree?: DataGridTreeContext; }) => DataGridElementProps \| undefined);` | optional, inherited | Called for rendered rows only; `ctx.tree` in tree mode. |
| `rowClassName` | `rowClassName?: ((row: Row, rowIndex: number) => string \| undefined);` | optional, inherited |  |
| `getCellProps` | `getCellProps?: ((ctx: DataGridCellContext<Row>) => DataGridElementProps \| undefined);` | optional, inherited | Called for rendered cells only. |
| `icons` | `icons?: Partial<Record<DataGridIconName, ReactNode>>;` | optional, inherited | Icon overrides by name: a node replaces the built-in SVG icon, `null` hides it. Merges over an enclosing `DataGridIconsProvider`. A component prop, not a theme input. |
| `selection` | `selection?: boolean \| DataGridSelection;` | optional, inherited | Selection. On by default: single row selection. `false` turns it off. |
| `onBeforeSelectionChange` | `onBeforeSelectionChange?: ((event: DataGridSelectionChangeEvent<Row>) => void);` | optional, inherited | Cancel with `event.preventDefault()`. |
| `onSelectionChange` | `onSelectionChange?: ((event: DataGridSelectionChangeEvent<Row>) => void);` | optional, inherited |  |
| `keyBindings` | `keyBindings?: Readonly<Record<string, readonly string[]>>;` | optional, inherited | Replaces the combos of keyboard commands (`{ 'selection.selectAll': ['Mod+Shift+L'] }`). Reactive: a changed value (compared by value) rebuilds the keymap. |
| `onKeyDown` | `onKeyDown?: ((ctx: DataGridKeyDownContext) => void);` | optional, inherited | Called for every key pressed in the grid before the built-in binding runs. |

### GanttLabel

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttLabel

```ts
type GanttLabel<Row> = string | ((ctx: GanttTaskbarContext<Row>) => ReactNode);
```

Label value: a field name or a render function.

### GanttLocaleKey

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttLocaleKey

```ts
type GanttLocaleKey = keyof typeof DEFAULTS;
```

### GanttLocaleText

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttLocaleText

```ts
type GanttLocaleText = Partial<Readonly<Record<GanttLocaleKey, LocaleMessage>>> & {
    readonly grid?: DataGridLocaleText;
};
```

Members (123):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `add` | `add?: LocaleMessage;` | optional, inherited |  |
| `addAbove` | `addAbove?: LocaleMessage;` | optional, inherited |  |
| `addBelow` | `addBelow?: LocaleMessage;` | optional, inherited |  |
| `addChild` | `addChild?: LocaleMessage;` | optional, inherited |  |
| `addDependency` | `addDependency?: LocaleMessage;` | optional, inherited |  |
| `addMilestone` | `addMilestone?: LocaleMessage;` | optional, inherited |  |
| `addTaskTitle` | `addTaskTitle?: LocaleMessage;` | optional, inherited |  |
| `baseline` | `baseline?: LocaleMessage;` | optional, inherited |  |
| `cancel` | `cancel?: LocaleMessage;` | optional, inherited |  |
| `chart` | `chart?: LocaleMessage;` | optional, inherited |  |
| `collapseAll` | `collapseAll?: LocaleMessage;` | optional, inherited |  |
| `columnBaselineEnd` | `columnBaselineEnd?: LocaleMessage;` | optional, inherited |  |
| `columnBaselineStart` | `columnBaselineStart?: LocaleMessage;` | optional, inherited |  |
| `columnDuration` | `columnDuration?: LocaleMessage;` | optional, inherited |  |
| `columnEnd` | `columnEnd?: LocaleMessage;` | optional, inherited |  |
| `columnId` | `columnId?: LocaleMessage;` | optional, inherited |  |
| `columnNotes` | `columnNotes?: LocaleMessage;` | optional, inherited |  |
| `columnPredecessors` | `columnPredecessors?: LocaleMessage;` | optional, inherited |  |
| `columnProgress` | `columnProgress?: LocaleMessage;` | optional, inherited |  |
| `columnResources` | `columnResources?: LocaleMessage;` | optional, inherited |  |
| `columnSerialNumber` | `columnSerialNumber?: LocaleMessage;` | optional, inherited |  |
| `columnStart` | `columnStart?: LocaleMessage;` | optional, inherited |  |
| `columnTaskType` | `columnTaskType?: LocaleMessage;` | optional, inherited |  |
| `columnTitle` | `columnTitle?: LocaleMessage;` | optional, inherited |  |
| `columnWbs` | `columnWbs?: LocaleMessage;` | optional, inherited |  |
| `columnWbsPredecessors` | `columnWbsPredecessors?: LocaleMessage;` | optional, inherited |  |
| `columnWork` | `columnWork?: LocaleMessage;` | optional, inherited |  |
| `conflictCancel` | `conflictCancel?: LocaleMessage;` | optional, inherited |  |
| `conflictMessage` | `conflictMessage?: LocaleMessage;` | optional, inherited |  |
| `conflictMove` | `conflictMove?: LocaleMessage;` | optional, inherited |  |
| `conflictRemoveLink` | `conflictRemoveLink?: LocaleMessage;` | optional, inherited |  |
| `conflictTitle` | `conflictTitle?: LocaleMessage;` | optional, inherited |  |
| `connectEnd` | `connectEnd?: LocaleMessage;` | optional, inherited |  |
| `connectStart` | `connectStart?: LocaleMessage;` | optional, inherited |  |
| `connectorLabel` | `connectorLabel?: LocaleMessage;` | optional, inherited |  |
| `convertToMilestone` | `convertToMilestone?: LocaleMessage;` | optional, inherited |  |
| `convertToTask` | `convertToTask?: LocaleMessage;` | optional, inherited |  |
| `critical` | `critical?: LocaleMessage;` | optional, inherited |  |
| `criticalPath` | `criticalPath?: LocaleMessage;` | optional, inherited |  |
| `csvExport` | `csvExport?: LocaleMessage;` | optional, inherited |  |
| `day` | `day?: LocaleMessage;` | optional, inherited |  |
| `dayUnits` | `dayUnits?: LocaleMessage;` | optional, inherited |  |
| `delete` | `delete?: LocaleMessage;` | optional, inherited |  |
| `deleteConfirm` | `deleteConfirm?: LocaleMessage;` | optional, inherited |  |
| `deleteConfirmTitle` | `deleteConfirmTitle?: LocaleMessage;` | optional, inherited |  |
| `deleteDependency` | `deleteDependency?: LocaleMessage;` | optional, inherited |  |
| `deleteTask` | `deleteTask?: LocaleMessage;` | optional, inherited |  |
| `dependency` | `dependency?: LocaleMessage;` | optional, inherited |  |
| `dependencyType` | `dependencyType?: LocaleMessage;` | optional, inherited |  |
| `dependsOn` | `dependsOn?: LocaleMessage;` | optional, inherited |  |
| `edit` | `edit?: LocaleMessage;` | optional, inherited |  |
| `editAnnouncement` | `editAnnouncement?: LocaleMessage;` | optional, inherited |  |
| `editTaskTitle` | `editTaskTitle?: LocaleMessage;` | optional, inherited |  |
| `endBeforeStart` | `endBeforeStart?: LocaleMessage;` | optional, inherited |  |
| `excelExport` | `excelExport?: LocaleMessage;` | optional, inherited |  |
| `expandAll` | `expandAll?: LocaleMessage;` | optional, inherited |  |
| `ff` | `ff?: LocaleMessage;` | optional, inherited |  |
| `fixedDuration` | `fixedDuration?: LocaleMessage;` | optional, inherited |  |
| `fixedUnit` | `fixedUnit?: LocaleMessage;` | optional, inherited |  |
| `fixedWork` | `fixedWork?: LocaleMessage;` | optional, inherited |  |
| `fs` | `fs?: LocaleMessage;` | optional, inherited |  |
| `general` | `general?: LocaleMessage;` | optional, inherited |  |
| `gridPane` | `gridPane?: LocaleMessage;` | optional, inherited |  |
| `hour` | `hour?: LocaleMessage;` | optional, inherited |  |
| `hourUnits` | `hourUnits?: LocaleMessage;` | optional, inherited |  |
| `indent` | `indent?: LocaleMessage;` | optional, inherited |  |
| `label` | `label?: LocaleMessage;` | optional, inherited |  |
| `lag` | `lag?: LocaleMessage;` | optional, inherited |  |
| `loading` | `loading?: LocaleMessage;` | optional, inherited |  |
| `manual` | `manual?: LocaleMessage;` | optional, inherited |  |
| `mergeTask` | `mergeTask?: LocaleMessage;` | optional, inherited |  |
| `milestone` | `milestone?: LocaleMessage;` | optional, inherited |  |
| `milestoneLabel` | `milestoneLabel?: LocaleMessage;` | optional, inherited |  |
| `minute` | `minute?: LocaleMessage;` | optional, inherited |  |
| `minuteUnits` | `minuteUnits?: LocaleMessage;` | optional, inherited |  |
| `newTask` | `newTask?: LocaleMessage;` | optional, inherited |  |
| `nextTimeSpan` | `nextTimeSpan?: LocaleMessage;` | optional, inherited |  |
| `notes` | `notes?: LocaleMessage;` | optional, inherited |  |
| `outdent` | `outdent?: LocaleMessage;` | optional, inherited |  |
| `overAllocated` | `overAllocated?: LocaleMessage;` | optional, inherited |  |
| `paneSwitch` | `paneSwitch?: LocaleMessage;` | optional, inherited |  |
| `panes` | `panes?: LocaleMessage;` | optional, inherited |  |
| `parentLabel` | `parentLabel?: LocaleMessage;` | optional, inherited |  |
| `pdfExport` | `pdfExport?: LocaleMessage;` | optional, inherited |  |
| `predecessor` | `predecessor?: LocaleMessage;` | optional, inherited |  |
| `previousTimeSpan` | `previousTimeSpan?: LocaleMessage;` | optional, inherited |  |
| `progressHandle` | `progressHandle?: LocaleMessage;` | optional, inherited |  |
| `redo` | `redo?: LocaleMessage;` | optional, inherited |  |
| `removeDependency` | `removeDependency?: LocaleMessage;` | optional, inherited |  |
| `required` | `required?: LocaleMessage;` | optional, inherited |  |
| `resizeEnd` | `resizeEnd?: LocaleMessage;` | optional, inherited |  |
| `resizeStart` | `resizeStart?: LocaleMessage;` | optional, inherited |  |
| `resourceLabel` | `resourceLabel?: LocaleMessage;` | optional, inherited |  |
| `resources` | `resources?: LocaleMessage;` | optional, inherited |  |
| `save` | `save?: LocaleMessage;` | optional, inherited |  |
| `search` | `search?: LocaleMessage;` | optional, inherited |  |
| `segmentEnd` | `segmentEnd?: LocaleMessage;` | optional, inherited |  |
| `segmentStart` | `segmentStart?: LocaleMessage;` | optional, inherited |  |
| `segments` | `segments?: LocaleMessage;` | optional, inherited |  |
| `sf` | `sf?: LocaleMessage;` | optional, inherited |  |
| `showChart` | `showChart?: LocaleMessage;` | optional, inherited |  |
| `showGrid` | `showGrid?: LocaleMessage;` | optional, inherited |  |
| `splitTask` | `splitTask?: LocaleMessage;` | optional, inherited |  |
| `splitter` | `splitter?: LocaleMessage;` | optional, inherited |  |
| `ss` | `ss?: LocaleMessage;` | optional, inherited |  |
| `taskInformation` | `taskInformation?: LocaleMessage;` | optional, inherited |  |
| `taskbarLabel` | `taskbarLabel?: LocaleMessage;` | optional, inherited |  |
| `today` | `today?: LocaleMessage;` | optional, inherited |  |
| `toolbar` | `toolbar?: LocaleMessage;` | optional, inherited |  |
| `tooltipDuration` | `tooltipDuration?: LocaleMessage;` | optional, inherited |  |
| `tooltipEnd` | `tooltipEnd?: LocaleMessage;` | optional, inherited |  |
| `tooltipLag` | `tooltipLag?: LocaleMessage;` | optional, inherited |  |
| `tooltipProgress` | `tooltipProgress?: LocaleMessage;` | optional, inherited |  |
| `tooltipStart` | `tooltipStart?: LocaleMessage;` | optional, inherited |  |
| `unassigned` | `unassigned?: LocaleMessage;` | optional, inherited |  |
| `undo` | `undo?: LocaleMessage;` | optional, inherited |  |
| `unit` | `unit?: LocaleMessage;` | optional, inherited |  |
| `unscheduledLabel` | `unscheduledLabel?: LocaleMessage;` | optional, inherited |  |
| `update` | `update?: LocaleMessage;` | optional, inherited |  |
| `zoomIn` | `zoomIn?: LocaleMessage;` | optional, inherited |  |
| `zoomOut` | `zoomOut?: LocaleMessage;` | optional, inherited |  |
| `zoomToFit` | `zoomToFit?: LocaleMessage;` | optional, inherited |  |
| `grid` | `grid?: DataGridLocaleText;` | optional, inherited | Grid pane overrides (Data Grid catalog). |

### GanttResource

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttResource

```ts
type GanttResource = Readonly<Record<string, unknown>>;
```

A resource.

### GanttTaskMode

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskMode

```ts
type TaskMode = 'auto' | 'manual' | 'custom';
```

### GanttTaskRole

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskRole

```ts
type GanttTaskRole = Exclude<keyof GanttTaskFields, 'children'>;
```

### GanttTaskType

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskType

```ts
type TaskType = 'fixedUnit' | 'fixedWork' | 'fixedDuration';
```

### GanttTaskbarAction

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttTaskbarAction

```ts
type GanttTaskbarAction = 'move' | 'resizeStart' | 'resizeEnd' | 'progress' | 'connect' | 'segmentMove' | 'segmentResize';
```

### GanttTimeUnit

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttTimeUnit

```ts
type ScaleUnit = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
```

### GanttToolbarItem

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttToolbarItem

```ts
type GanttToolbarItem = GanttToolbarItemId | {
    readonly id: string;
    readonly text?: string;
    readonly icon?: ReactNode;
    readonly disabled?: boolean;
    readonly align?: 'start' | 'end';
    readonly render?: () => ReactNode;
};
```

### GanttToolbarItemId

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttToolbarItemId

```ts
type GanttToolbarItemId = 'add' | 'edit' | 'update' | 'delete' | 'cancel' | 'expandAll' | 'collapseAll' | 'search' | 'previousTimeSpan' | 'nextTimeSpan' | 'zoomIn' | 'zoomOut' | 'zoomToFit' | 'indent' | 'outdent' | 'criticalPath' | 'excelExport' | 'csvExport' | 'pdfExport' | 'undo' | 'redo';
```

Built-in toolbar items.

### GanttWorkUnit

Kind: type

Page: https://salmonui.dev/docs/reference/gantt/GanttWorkUnit

```ts
type WorkUnit = 'minute' | 'hour' | 'day';
```

## Constants

### GANTT_DEFAULT_LOCALE_TEXT

Kind: const

Page: https://salmonui.dev/docs/reference/gantt/GANTT_DEFAULT_LOCALE_TEXT

```ts
const GANTT_DEFAULT_LOCALE_TEXT: Readonly<Record<GanttLocaleKey, LocaleMessage>>;
```

English defaults.
