UNPKG

@progress/kendo-angular-grid

Version:

Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.

34 lines (33 loc) 1.21 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 NavigationMetadata { dataRows; headerRows; isVirtual; hasPager; hasDetailTemplate; gridElement; virtualColumns; columns; isStacked; get maxLogicalRowIndex() { const dataRows = this.hasDetailTemplate ? this.dataRows * 2 : this.dataRows; return this.headerRows + dataRows - 1; } constructor(dataRows, headerRows, isVirtual, hasPager, hasDetailTemplate, gridElement, virtualColumns, columns, isStacked) { this.dataRows = dataRows; this.headerRows = headerRows; this.isVirtual = isVirtual; this.hasPager = hasPager; this.hasDetailTemplate = hasDetailTemplate; this.gridElement = gridElement; this.virtualColumns = virtualColumns; this.columns = columns; this.isStacked = isStacked; } }