# GanttTaskbarEditEvent (@salmonui/gantt)

> The GanttTaskbarEditEvent interface of @salmonui/gantt.

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

```ts
import type { GanttTaskbarEditEvent } 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 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). |
