/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** @hidden */ export interface TableKeyDownEvent { /** * The current leaf data items. */ dataItems: any[]; /** * Selection mode */ mode: 'single' | 'multiple'; /** * Indicates if cell selection mode is enabled. */ cell: boolean; /** * The `selectedField` prop of the component. */ selectedField: string; /** * The component unique identifier. */ componentId: string; /** * The component event. */ event: any; } /** @hidden */ export interface TableDragSelectionReleaseEvent { /** * Selection start row index. */ startRowIndex: number; /** * Selection start column index. */ startColIndex: number; /** * Selection end row index. */ endRowIndex: number; /** * Selection end column index. */ endColIndex: number; /** * A native DOM event. */ event: any; /** * Is ctrl key modifier pressed. */ ctrlKey: boolean; /** * Is alt key modifier pressed. */ altKey: boolean; /** * Is meta key modifier pressed. */ metaKey: boolean; /** * Is shift key modifier pressed. */ shiftKey: boolean; /** * Selection mode. */ mode: 'single' | 'multiple'; /** * Indicates if cell selection mode is enabled. */ cell: boolean; /** * Indicates if current event is created from drag. */ isDrag: boolean; } /** @hidden */ export interface TableSelectionChangeEvent extends TableDragSelectionReleaseEvent { /** * The data item which was selected or deselected when the checkbox selection column is used. It will be `null` when the row or cell selection is used. */ dataItem: any; /** * The `selectedField` prop of the component. */ selectedField: string; /** * The component unique identifier. */ componentId: string; /** * The current component leaf data items. */ dataItems: any[]; }