UNPKG

@syncfusion/ej2-gantt

Version:
67 lines (66 loc) 1.93 kB
import { ChildProperty } from '@syncfusion/ej2-base'; import { EditMode, RowPosition } from '../base/enum'; /** * Configures edit settings of Gantt. */ export declare class EditSettings extends ChildProperty<EditSettings> { /** * If `allowEditing` is set to true, values can be updated in the existing record. * * @default false */ allowEditing: boolean; /** * If `allowAdding` is set to true, new records can be added to the Gantt. * * @default false */ allowAdding: boolean; /** * If `allowDeleting` is set to true, existing record can be deleted from the Gantt. * * @default false */ allowDeleting: boolean; /** * Defines edit mode in Gantt. * * `Auto` - Defines cell edit mode in grid side and dialog mode in chart side. * * `Dialog` - Defines dialog edit mode on both sides. * * @default Auto * @isEnumeration true * @asptype EditMode */ mode: EditMode; /** * Defines the row position for new records. The available row positions are: * * Top * * Bottom * * Above * * Below * * Child * * @default Top */ newRowPosition: RowPosition; /** * If `showDeleteConfirmDialog` is set to true, a confirmation dialog will be displayed before performing the delete action. * This allows the user to confirm or cancel the deletion operation. * * @default false */ showDeleteConfirmDialog: boolean; /** * Enable or disable the taskbar editing, such as updating start date, end date, * progress and dependency tasks values, through user interaction. * * @default false */ allowTaskbarEditing: boolean; /** * If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation. * * @default false */ allowNextRowEdit: boolean; }