UNPKG

1.01 kBTypeScriptView Raw
1// Type definitions for ag-grid v18.1.2
2// Project: http://www.ag-grid.com/
3// Definitions by: Niall Crosby <https://github.com/ag-grid/>
4import { RowNode } from "../../entities/rowNode";
5import { IEventEmitter } from "../../interfaces/iEventEmitter";
6import { InfiniteCacheParams } from "./infiniteCache";
7import { RowNodeBlock } from "../cache/rowNodeBlock";
8export declare class InfiniteBlock extends RowNodeBlock implements IEventEmitter {
9 private gridOptionsWrapper;
10 private context;
11 private rowRenderer;
12 private cacheParams;
13 constructor(pageNumber: number, params: InfiniteCacheParams);
14 protected createBlankRowNode(rowIndex: number): RowNode;
15 protected setDataAndId(rowNode: RowNode, data: any, index: number): void;
16 setRowNode(rowIndex: number, rowNode: RowNode): void;
17 protected init(): void;
18 getNodeIdPrefix(): string;
19 getRow(displayIndex: number): RowNode;
20 private setIndexAndTopOnRowNode(rowNode, rowIndex);
21 protected loadFromDatasource(): void;
22}