UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

20 lines (19 loc) 789 B
import { BeanStub } from "../context/beanStub"; import { RowNode } from "./rowNode"; export interface RowPosition { /** A positive number from 0 to n, where n is the last row the grid is rendering * or -1 if you want to navigate to the grid header */ rowIndex: number; /** Either 'top', 'bottom' or null (for not pinned) */ rowPinned: string | null; } export declare class RowPositionUtils extends BeanStub { private rowModel; private pinnedRowModel; private paginationProxy; getFirstRow(): RowPosition | null; getLastRow(): RowPosition | null; getRowNode(gridRow: RowPosition): RowNode | undefined; sameRow(rowA: RowPosition | undefined, rowB: RowPosition | undefined): boolean; before(rowA: RowPosition, rowB: RowPosition): boolean; }