UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

18 lines (17 loc) 866 B
import { ICellEditorParams } from "../../interfaces/iCellEditor"; import { AgInputTextField } from "../../widgets/agInputTextField"; import { SimpleCellEditor } from "./simpleCellEditor"; export interface ITextCellEditorParams<TData = any, TValue = any, TContext = any> extends ICellEditorParams<TData, TValue, TContext> { /** If `true`, the editor will use the provided `colDef.valueFormatter` to format the value displayed in the editor. * 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. */ useFormatter: boolean; /** * Max number of characters to allow. * @default 524288 */ maxLength?: number; } export declare class TextCellEditor extends SimpleCellEditor<any, ITextCellEditorParams, AgInputTextField> { constructor(); }