API reference: @salmonui/gantt
GanttEditinginterface
import type { GanttEditing } from '@salmonui/gantt';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.
| Name | Signature | Description |
|---|---|---|
modeoptional | readonly mode?: 'cell' | 'row' | 'dialog' | 'auto'; | Grid pane edit mode; |
editoptional | readonly edit?: boolean; | |
addoptional | readonly add?: boolean; | |
deleteoptional | readonly delete?: boolean; | |
taskbaroptional | readonly taskbar?: boolean; | Taskbar drag, resize, progress and connect (default true when editable). |
taskbarDragBetweenRowsoptional | readonly taskbarDragBetweenRows?: boolean; | Dropping a taskbar on another row reparents (or reassigns in the resource view). |
newRowPositionoptional | readonly newRowPosition?: 'top' | 'bottom' | 'above' | 'below' | 'child'; | |
confirmDeleteoptional | readonly confirmDelete?: boolean; | |
dialogTabsoptional | readonly dialogTabs?: readonly GanttDialogTab<Row>[]; |