UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components

40 lines (39 loc) 1.48 kB
import { GridOptionsWrapper } from "../gridOptionsWrapper"; export interface RowContainerComponentParams { eContainer: HTMLElement; eViewport?: HTMLElement; eWrapper?: HTMLElement; hideWhenNoChildren?: boolean; } /** * There are many instances of this component covering each of the areas a row can be entered * eg body, pinned left, fullWidth. The component differs from others in that it's given the * elements, there is no template. All of the elements are part of the GridPanel. */ export declare class RowContainerComponent { gridOptionsWrapper: GridOptionsWrapper; private readonly eContainer; private readonly eViewport; private readonly eWrapper; private readonly hideWhenNoChildren; private childCount; private visible; private rowTemplatesToAdd; private afterGuiAttachedCallbacks; private scrollTop; private lastMadeVisibleTime; private domOrder; private lastPlacedElement; constructor(params: RowContainerComponentParams); setVerticalScrollPosition(verticalScrollPosition: number): void; private postConstruct; private checkDomOrder; getRowElement(compId: number): HTMLElement; setHeight(height: number): void; flushRowTemplates(): void; appendRowTemplate(rowTemplate: string, callback: () => void): void; ensureDomOrder(eRow: HTMLElement): void; removeRowElement(eRow: HTMLElement): void; private checkVisibility; isMadeVisibleRecently(): boolean; }