| 123456789101112131415161718192021222324252627282930313233343536373839 |
- 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;
- }
|