UNPKG

ag-grid

Version:

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

38 lines (37 loc) 1.47 kB
// Type definitions for ag-grid v18.1.2 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ag-grid/> import { GridOptionsWrapper } from "../gridOptionsWrapper"; export interface RowContainerComponentParams { eContainer: HTMLElement; eViewport?: 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 hideWhenNoChildren; private childCount; private visible; private rowTemplatesToAdd; private afterGuiAttachedCallbacks; private scrollTop; private domOrder; private lastPlacedElement; constructor(params: RowContainerComponentParams); setVerticalScrollPosition(verticalScrollPosition: number): void; private postConstruct(); 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(); }