@progress/kendo-vue-grid
Version:
44 lines (43 loc) • 1.5 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { Page } from '@progress/kendo-vue-data-tools';
import { VirtualScrollInterface } from './interfaces/VirtualScrollInterface';
import { RowHeightService } from '@progress/kendo-vue-common';
/**
* @hidden
*/
export declare class VirtualScroll implements VirtualScrollInterface {
table: HTMLTableElement | null;
tableBody: HTMLTableSectionElement | null;
container: HTMLDivElement | null;
scrollHeightContainer: HTMLDivElement | null;
total: number;
scrollableVirtual: boolean;
pageSize: number;
PageChange: (page: Page, event: any) => void;
fixedScroll: boolean;
tableTransform: string;
rowHeightService?: RowHeightService;
private scrollSyncing;
private firstToLoad;
private lastScrollTop;
private firstLoaded;
private lastLoaded;
constructor();
reset(): void;
scrollHandler(e: Event): void;
update(): void;
private loadPage;
private translate;
private changePage;
private adjustScroll;
private setScrollHeightContainerHeight;
private getItemHeights;
private getTotalHeight;
private getExpectedTotalHeight;
}