# GanttScheduleConflictEvent (@salmonui/gantt)

> The GanttScheduleConflictEvent interface of @salmonui/gantt.

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

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