RealGrid2 API
Interface
LineCellEditor

LineCellEditor

Text editor that can accept one-line input

Signature:

export interface LineCellEditor extends TextCellEditor

Extends: TextCellEditor

Remarks

RealGrid's basic editor. If the editor property is not specified for the column or 'line' / 'text' is specified, LineCellEditor is used. Inherits TextCellEditor.

[Superclass]

CellEditor - TextCellEditor

Example

//string type
column.editor = "line"
 
// object type
column.editor = { type: "line", maxLength: 1}

Properties

PropertyTypeDescription
type"line" | "text"Cell Editor Type: Single Line

Properties Desc

type

Cell editor type: Single line

Type - "line" | "text"