{/* Do not edit this file. It is automatically generated by API Documenter. */}


## LineCellEditor

Text editor that can accept one-line input

**Signature:**

```typescript
export interface LineCellEditor extends TextCellEditor
```
**Extends:** [TextCellEditor](/refs/Interface/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](/refs/Interface/TextCellEditor).

\[Superclass\]

[CellEditor](/refs/Interface/CellEditor) - [TextCellEditor](/refs/Interface/TextCellEditor)

## Example


```js
//string type
column.editor = "line"

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

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [ignoreCharacters](/refs/Interface/LineCellEditor#ignorecharacters) | string | String to exclude when inputting |
| [inputCharacters](/refs/Interface/LineCellEditor#inputcharacters) | string | Strings allowed when inputting |
| [type](/refs/Interface/LineCellEditor#type) | "line" \| "text" | Cell Editor Type: Single Line |

## Properties Desc

### ignoreCharacters

String to exclude when inputting

`Type` - string

**Remarks:**

When restricting specific characters when editing, enter the string to be restricted.

**Example:**


```js
// Only English characters can be entered, ABCD cannot be entered, but abcd can be entered.
column.editor = {type:"line", inputCharacters:"A-Za-z", ignoreCharacters:"ABCD"}
```

<hr/>

### inputCharacters

Strings allowed when inputting

`Type` - string

**Remarks:**

When editing, if only a specific set of characters, such as English or numbers, can be entered, enter the characters to be allowed.

**Example:**


```js
// Only English characters can be entered.
column.editor = {type:"line", inputCharacters:"A-Za-z"};

// Only Korean characters can be entered
column.editor = {type:"line", inputCharacters:"ㄱ-Hi"};
```

<hr/>

### type

Cell editor type: Single line

`Type` - "line" \| "text"

<hr/>