# GanttEditing (@salmonui/gantt)

> The GanttEditing interface of @salmonui/gantt: editing.

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

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

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

## Reference

Kind: interface

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