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


## SearchCellEditor

[DropDownCellEditor](/refs/Interface/DropDownCellEditor) with search functionality added

**Signature:**

```typescript
export interface SearchCellEditor extends Omit<DropDownCellEditor, "listCallback" | "type">
```
**Extends:** Omit&lt;[DropDownCellEditor](/refs/Interface/DropDownCellEditor){/* */}, "listCallback" \| “type”&gt;

## Remarks

Inherits [DropDownCellEditor](/refs/Interface/DropDownCellEditor).

\[Superclass\]

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

## Example


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

// object type
column.editor = {
      type: "search",
      values: ["VINET", "TOMSP", "VICTE"],
      labels: ['label1', 'label2', 'label3'],
      displayLabels: "valueLabel",
      textReadOnly: true;
      searchLength: 3
}
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [initCount](/refs/Interface/SearchCellEditor#initcount) | number | Number of items to show initially |
| [moreItemCount](/refs/Interface/SearchCellEditor#moreitemcount) | number | Number of items to show when clicking the Show More button |
| [moreText](/refs/Interface/SearchCellEditor#moretext) | string | Text displayed on the Show More button |
| [reInquery](/refs/Interface/SearchCellEditor#reinquiry) | boolean | Whether to recheck when entering a key |
| [searchDelay](/refs/Interface/SearchCellEditor#searchdelay) | number | Time until the search starts after the last key input is completed (ms, milliseconds) |
| [searchLength](/refs/Interface/SearchCellEditor#searchlength) | number | Minimum number of characters required to start search |
| [type](/refs/Interface/SearchCellEditor#type) | 'search' | Cell editor type: Search |
| [useCtrlEnterKey](/refs/Interface/SearchCellEditor#usectrlenterkey) | boolean | Regardless of searchLength and searchDelay, whether the [onEditSearch](/refs/Class/GridBase#oneditsearch) event occurs immediately when the Ctrl+Enter key is pressed |
| [useEnterKey](/refs/Interface/SearchCellEditor#useenterkey) | boolean | Whether the [onEditSearch](/refs/Class/GridBase#oneditsearch) event occurs immediately upon entering the Enter key regardless of searchLength and searchDelay |

## Properties Desc

### initCount

Number of items to show initially

`Type` - number

**Remarks:**

If it is 0, everything is shown.

<hr/>

### moreItemCount

Number of items to show when clicking the Show More button

`Type` - number

<hr/>

### moreText

Text displayed on the Show More button

`Type` - string

<hr/>

### reInquery

Whether to recheck when entering a key

`Type` - boolean

<hr/>

### searchDelay

Time until the search starts after the last key input is completed (ms, milliseconds)

`Type` - number

<hr/>

### searchLength

Minimum number of characters required to start a search

`Type` - number

<hr/>

### type

Cell editor type: Search

`Type` - 'search'

<hr/>

### useCtrlEnterKey

Regardless of searchLength and searchDelay, whether the [onEditSearch](/refs/Class/GridBase#oneditsearch) event occurs immediately when the Ctrl+Enter key is pressed.

`Type` - boolean

<hr/>

### useEnterKey

Whether the [onEditSearch](/refs/Class/GridBase#oneditsearch) event occurs immediately upon entering the Enter key, regardless of searchLength and searchDelay.

`Type` - boolean

**Remarks:**

This only works if the list is empty.

<hr/>