@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.
44 lines (43 loc) • 1.48 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Arguments for the [`contentScroll`](slug:api_treelist_treelistcomponent#toc-contentscroll) event.
*
* Use this event to get information about the scroll position and visible rows or columns in the TreeList.
*/
export interface ContentScrollEvent {
/**
* The scroll left position.
*/
scrollLeft: number;
/**
* The scroll top position.
*/
scrollTop: number;
/**
* The index of the first row visible in the viewport.
* Available only if the treelist is configured for virtual scrolling.
*
* @hidden
*/
startRow: number;
/**
* The index of the last row visible in the viewport.
* Available only if the treelist is configured for virtual scrolling.
*
* @hidden
*/
endRow: number;
/**
* The index of the first column visible in the viewport.
* Available only if the `virtualColumns` option is set to true.
*/
startColumn: number;
/**
* The index of the last column visible in the viewport.
* Available only if the `virtualColumns` option is set to true.
*/
endColumn: number;
}