API reference: @salmonui/gantt
GanttScheduleConflictEventinterface
import type { GanttScheduleConflictEvent } from '@salmonui/gantt';interface GanttScheduleConflictEvent<Row> extends GanttEvent {
readonly conflicts: readonly (ScheduleConflict & {
readonly task: Row | null;
})[];
resolve(choice: 'move' | 'removeLink' | 'cancel'): void;
}
| Name | Signature | 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. |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |