@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
46 lines (45 loc) • 1.43 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* 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';
/**
* Called every time a user leaves an edited cell.
*/
export class CellCloseEvent extends PreventableEvent {
/**
* The data item.
*/
dataItem;
/**
* Indicates if the data item is new or existing.
*/
isNew;
/**
* The Gantt column that will be closed.
*/
column;
/**
* The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that is used to edit the cell which will be closed.
*/
formGroup;
/**
* The DOM event that caused the `cellClose` event.
* May not be present if `cellClose` was caused by an API call.
*/
originalEvent;
/**
* The `GanttComponent` instance.
*/
sender;
/**
* The `TaskEditItem` associated with the edited task.
* The parent item is accessible through the `parent` property,
* and allows traversing all ancestors that need to be updated.
*/
item;
constructor(options) {
super();
Object.assign(this, options);
}
}