1 |
|
2 |
|
3 |
|
4 | import { BeanStub } from "../context/beanStub";
|
5 | import { IRowModel } from "../interfaces/iRowModel";
|
6 | import { RowNode } from "../entities/rowNode";
|
7 | import { GridPanel } from "../gridPanel/gridPanel";
|
8 | export declare class PaginationAutoPageSizeService extends BeanStub {
|
9 | private eventService;
|
10 | private gridOptionsWrapper;
|
11 | private scrollVisibleService;
|
12 | private gridPanel;
|
13 | registerGridComp(gridPanel: GridPanel): void;
|
14 | private notActive();
|
15 | private onScrollVisibilityChanged();
|
16 | private onBodyHeightChanged();
|
17 | private checkPageSize();
|
18 | }
|
19 | export declare class PaginationProxy extends BeanStub implements IRowModel {
|
20 | private rowModel;
|
21 | private eventService;
|
22 | private gridOptionsWrapper;
|
23 | private selectionController;
|
24 | private columnApi;
|
25 | private gridApi;
|
26 | private active;
|
27 | private pageSize;
|
28 | private totalPages;
|
29 | private currentPage;
|
30 | private topRowIndex;
|
31 | private bottomRowIndex;
|
32 | private pixelOffset;
|
33 | private topRowBounds;
|
34 | private bottomRowBounds;
|
35 | private postConstruct();
|
36 | isLastRowFound(): boolean;
|
37 | private onModelUpdated(modelUpdatedEvent?);
|
38 | goToPage(page: number): void;
|
39 | getPixelOffset(): number;
|
40 | getRow(index: number): RowNode;
|
41 | getRowNode(id: string): RowNode;
|
42 | getRowIndexAtPixel(pixel: number): number;
|
43 | getCurrentPageHeight(): number;
|
44 | isRowPresent(rowNode: RowNode): boolean;
|
45 | isEmpty(): boolean;
|
46 | isRowsToRender(): boolean;
|
47 | getNodesInRangeForSelection(firstInRange: RowNode, lastInRange: RowNode): RowNode[];
|
48 | forEachNode(callback: (rowNode: RowNode) => void): void;
|
49 | getType(): string;
|
50 | getRowBounds(index: number): {
|
51 | rowTop: number;
|
52 | rowHeight: number;
|
53 | };
|
54 | getPageFirstRow(): number;
|
55 | getPageLastRow(): number;
|
56 | getRowCount(): number;
|
57 | goToPageWithIndex(index: any): void;
|
58 | getTotalRowCount(): number;
|
59 | isLastPageFound(): boolean;
|
60 | getCurrentPage(): number;
|
61 | goToNextPage(): void;
|
62 | goToPreviousPage(): void;
|
63 | goToFirstPage(): void;
|
64 | goToLastPage(): void;
|
65 | getPageSize(): number;
|
66 | getTotalPages(): number;
|
67 | private setPageSize();
|
68 | private setIndexesAndBounds();
|
69 | }
|