API reference: @salmonui/gantt
GanttTaskbarEditEventinterface
import type { GanttTaskbarEditEvent } from '@salmonui/gantt';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;
}
| Name | Signature | 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 |
end | readonly end: Date | null; | |
progress | readonly progress: number; | |
dependencyoptional | readonly dependency?: Dependency & {
readonly to: RowId;
}; | For |
segmentIndexoptional | readonly segmentIndex?: number; | |
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). |