@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
46 lines (45 loc) • 1.63 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 './paging/Page.js';
import { VirtualScrollInterface } from './interfaces/VirtualScrollInterface.js';
import { RowHeightService } from '@progress/kendo-react-common';
import * as React from 'react';
/**
* @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: ((event: Page, syntheticEvent: React.SyntheticEvent<any>) => void) | null;
fixedScroll: boolean;
tableTransform: string;
rowHeightService?: RowHeightService;
private reactVersion;
private scrollSyncing;
private firstToLoad;
private lastScrollTop;
private firstLoaded;
private lastLoaded;
constructor();
reset(): void;
scrollHandler(e: React.SyntheticEvent<HTMLDivElement>): void;
update(): void;
private loadPage;
private translate;
private changePage;
private adjustScroll;
private setScrollHeightContainerHeight;
private getItemHeights;
private getTotalHeight;
private getExpectedTotalHeight;
}