UNPKG

909 BTypeScriptView 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 { Component } from "../../widgets/component";
5import { ICellEditorComp, ICellEditorParams } from "./iCellEditor";
6/**
7 * useFormatter: used when the cell value needs formatting prior to editing, such as when using reference data and you
8 * want to display text rather than code.
9*/
10export interface ITextCellEditorParams extends ICellEditorParams {
11 useFormatter: boolean;
12}
13export declare class TextCellEditor extends Component implements ICellEditorComp {
14 private static TEMPLATE;
15 private highlightAllOnFocus;
16 private focusAfterAttached;
17 private params;
18 constructor();
19 init(params: ITextCellEditorParams): void;
20 afterGuiAttached(): void;
21 focusIn(): void;
22 getValue(): any;
23 private getStartValue(params);
24}