UNPKG

1.02 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 { Column } from "./entities/column";
5import { GridCell } from "./entities/gridCell";
6import { RowNode } from "./entities/rowNode";
7export declare class FocusedCellController {
8 private eventService;
9 private gridOptionsWrapper;
10 private columnController;
11 private columnApi;
12 private gridApi;
13 private focusedCell;
14 private init();
15 clearFocusedCell(): void;
16 getFocusedCell(): GridCell;
17 getFocusCellToUseAfterRefresh(): GridCell;
18 private getGridCellForDomElement(eBrowserCell);
19 setFocusedCell(rowIndex: number, colKey: string | Column, floating: string, forceBrowserFocus?: boolean): void;
20 isCellFocused(gridCell: GridCell): boolean;
21 isRowNodeFocused(rowNode: RowNode): boolean;
22 isAnyCellFocused(): boolean;
23 isRowFocused(rowIndex: number, floating: string): boolean;
24 private onCellFocused(forceBrowserFocus);
25}