@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
44 lines (43 loc) • 1.4 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import type { GanttComponent } from '../../gantt.component';
import { GanttColumnComponent, GanttSpanColumnComponent } from '../../columns/columns';
/**
* Triggered every time a cell is clicked.
*/
export interface CellClickEvent {
/**
* The column component associated with the clicked cell.
*/
column: GanttColumnComponent | GanttSpanColumnComponent;
/**
* The column index of the clicked cell.
*/
columnIndex: number;
/**
* The data item associated with the clicked cell.
*/
dataItem: any;
/**
* Indicates whether the cell is in edit mode.
*/
isEdited: boolean;
/**
* The DOM event that triggered the `cellClick` event.
*/
originalEvent: PointerEvent;
/**
* The row index for the clicked cell.
*/
rowIndex: number;
/**
* The Gantt component instance.
*/
sender: GanttComponent;
/**
* The type of the event that triggered the `cellClick` event.
*/
type: 'click' | 'contextmenu' | 'dblclick';
}