UNPKG

@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.

38 lines (37 loc) 1.1 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * @hidden */ export class ModelCell { uid; column; colIndex; rowIndex; colSpan; rowSpan; dataRowIndex; dataItem; parent; focusGroup; expandable; constructor(modelRow, cell) { this.uid = cell.uid; this.column = cell.column; this.colIndex = cell.logicalColIndex; this.rowIndex = modelRow.index; this.colSpan = cell.colSpan; this.rowSpan = cell.rowSpan; this.dataItem = modelRow.dataItem; this.dataRowIndex = modelRow.dataRowIndex; this.focusGroup = cell.focusGroup; this.expandable = cell.expandable; } focusContent() { if (this.focusGroup) { this.focusGroup.focus(); } } }