UNPKG

@progress/kendo-angular-gantt

Version:
45 lines (44 loc) 1.47 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { PreventableEvent } from '@progress/kendo-angular-common'; /** * Represents the arguments for the `cellClose` event of the Gantt. */ export class CellCloseEvent extends PreventableEvent { /** * Holds the data item. */ dataItem; /** * Indicates if the data item is new or existing. */ isNew; /** * Contains the Gantt column associated with the closed cell. */ column; /** * Contains the [`FormGroup`](link:site.data.urls.angular['formgroupapi']) used to edit the cell that will be closed. */ formGroup; /** * Contains the DOM event that triggered the `cellClose` event. * This property may be missing if `cellClose` is triggered by an API call. */ originalEvent; /** * Holds the `GanttComponent` instance. */ sender; /** * Contains the `TaskEditItem` for the edited task. * Access the parent item through the `parent` property to traverse all ancestors that need updates. */ item; constructor(options) { super(); Object.assign(this, options); } }