@syncfusion/ej2-spreadsheet
Version: 
Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel
45 lines (44 loc) • 1.13 kB
TypeScript
import { Spreadsheet } from '../base/index';
/**
 * VirtualScroll module
 *
 * @hidden
 */
export declare class VirtualScroll {
    private parent;
    private rowHeader;
    private colHeader;
    private content;
    private translateX;
    private translateY;
    private scroll;
    constructor(parent: Spreadsheet);
    private createVirtualElement;
    private initScroll;
    private setScrollCount;
    private getRowAddress;
    private getColAddress;
    private updateScrollCount;
    private onVerticalScroll;
    private skipHiddenLastIdx;
    private hiddenCount;
    private checkLastIdx;
    private onHorizontalScroll;
    private focusSheet;
    private setThresholdHeight;
    private setThresholdWidth;
    private translate;
    private updateColumnWidth;
    private updateRowColCount;
    private getVTrackHeight;
    private updateVTrackHeight;
    private updateVTrackWidth;
    private updateVTrack;
    private deInitProps;
    private updateScrollProps;
    private sliceScrollProps;
    private updateTranslate;
    private addEventListener;
    private destroy;
    private removeEventListener;
}