@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
44 lines (43 loc) • 1.46 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';
/**
* Represents the arguments for the `cellClick` event of the Gantt.
*/
export interface CellClickEvent {
/**
* Contains the column component associated with the clicked cell.
*/
column: GanttColumnComponent | GanttSpanColumnComponent;
/**
* Holds the column index of the clicked cell.
*/
columnIndex: number;
/**
* Contains the data item for the clicked cell.
*/
dataItem: any;
/**
* Indicates if the cell is in edit mode.
*/
isEdited: boolean;
/**
* Contains the DOM event that triggered the `cellClick` event.
*/
originalEvent: PointerEvent;
/**
* Holds the row index for the clicked cell.
*/
rowIndex: number;
/**
* Contains the Gantt component instance.
*/
sender: GanttComponent;
/**
* Specifies the type of event that triggered the `cellClick` event.
*/
type: 'click' | 'contextmenu' | 'dblclick';
}