@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.
32 lines (31 loc) • 1.03 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* 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 {
view;
headerRows;
isVirtual;
hasPager;
treelistElement;
virtualColumns;
columns;
get maxLogicalRowIndex() {
return this.headerRows + this.dataRows - 1;
}
get dataRows() {
return this.view.totalRows;
}
constructor(view, headerRows, isVirtual, hasPager, treelistElement, virtualColumns, columns) {
this.view = view;
this.headerRows = headerRows;
this.isVirtual = isVirtual;
this.hasPager = hasPager;
this.treelistElement = treelistElement;
this.virtualColumns = virtualColumns;
this.columns = columns;
}
}