@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
60 lines (59 loc) • 1.67 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 { FocusGroup } from './focus-group';
/**
* Contains the metadata for a focusable TreeList cell.
* Focusable TreeList cells include headers, group headers and footers, and data cells.
*/
export interface NavigationCell {
/**
* @hidden
*/
uid: number;
/**
* The column that the cell belongs to.
*/
column: any;
/**
* The column index of the cell.
*/
colIndex: number;
/**
* The logical index of the row that contains this cell. The row index is absolute and does not change with paging. Header rows are included, starting at index 0.
*/
rowIndex: number;
/**
* The column span for this cell, if set.
*/
colSpan?: number;
/**
* The row span for this cell, if set.
*/
rowSpan?: number;
/**
* The data item index for the parent row of this cell.
*/
dataRowIndex: number;
/**
* The data item for the parent row of this cell.
*/
dataItem: any;
/**
* @hidden
*/
parent?: NavigationCell;
/**
* @hidden
*/
focusGroup?: FocusGroup;
/**
* A flag that indicates if the cell is expandable.
*/
expandable?: boolean;
/**
* Focuses the first focusable element in the cell, if any.
*/
focusContent(): void;
}