ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
26 lines (25 loc) • 967 B
TypeScript
import { PopupComponent } from "../../widgets/popupComponent";
import { ICellEditorComp, ICellEditorParams } from "../../interfaces/iCellEditor";
import { AgInputTextField } from "../../widgets/agInputTextField";
/**
* useFormatter: used when the cell value needs formatting prior to editing, such as when using reference data and you
* want to display text rather than code.
*/
export interface ITextCellEditorParams extends ICellEditorParams {
useFormatter: boolean;
}
export declare class TextCellEditor extends PopupComponent implements ICellEditorComp {
private static TEMPLATE;
private highlightAllOnFocus;
private focusAfterAttached;
protected params: ICellEditorParams;
protected eInput: AgInputTextField;
constructor();
init(params: ITextCellEditorParams): void;
afterGuiAttached(): void;
focusIn(): void;
focusOut(): void;
getValue(): any;
private getStartValue;
isPopup(): boolean;
}