ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
33 lines (32 loc) • 1.35 kB
TypeScript
import type { NamedBean } from '../context/bean';
import { BeanStub } from '../context/beanStub';
import { RowNode } from '../entities/rowNode';
import type { RowPinnedType } from '../interfaces/iRowNode';
export declare class PinnedRowModel extends BeanStub implements NamedBean {
beanName: "pinnedRowModel";
private nextId;
private pinnedTopRows;
private pinnedBottomRows;
postConstruct(): void;
isEmpty(floating: RowPinnedType): boolean;
isRowsToRender(floating: RowPinnedType): boolean;
private onGridStylesChanges;
ensureRowHeightsValid(): boolean;
private setPinnedRowData;
/**
* Updates existing RowNode instances and creates new ones if necessary
*
* Setting data as `undefined` will clear row nodes
*/
private updateNodesFromRowData;
private setRowTopAndRowIndex;
getPinnedTopTotalHeight(): number;
getPinnedBottomTotalHeight(): number;
getPinnedTopRowCount(): number;
getPinnedBottomRowCount(): number;
getPinnedTopRow(index: number): RowNode | undefined;
getPinnedBottomRow(index: number): RowNode | undefined;
getPinnedRowById(id: string, floating: NonNullable<RowPinnedType>): RowNode | undefined;
forEachPinnedRow(floating: NonNullable<RowPinnedType>, callback: (node: RowNode, index: number) => void): void;
private getCache;
}