---
name: "wxGridCellTextEditor"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxGridCellTextEditor"
---

# wxGridCellTextEditor(3erl)

Functions for wxGridCellTextEditor class

## NAME

wxGridCellTextEditor - Functions for wxGridCellTextEditor class

## DESCRIPTION

Grid cell editor for string/text data.

See: *wxGridCellEditor*, *wxGridCellAutoWrapStringEditor* (not implemented in wx), *wxGridCellBoolEditor*, *wxGridCellChoiceEditor*, *wxGridCellEnumEditor* (not implemented in wx), *wxGridCellFloatEditor*, *wxGridCellNumberEditor*, *wxGridCellDateEditor* (not implemented in wx)

This class is derived (and can use functions) from: *wxGridCellEditor*

wxWidgets docs: wxGridCellTextEditor

## DATA TYPES

```
wxGridCellTextEditor() = wx:wx_object()
```

## EXPORTS

```
new() -> wxGridCellTextEditor()
```

```
new(Options :: [Option]) -> wxGridCellTextEditor()
```

Types:

Option = {maxChars, integer()}\

Text cell editor constructor.

```
setParameters(This, Params) -> ok
```

Types:

This = wxGridCellTextEditor()\
 Params = unicode:chardata()\

The parameters string format is "n" where n is a number representing the maximum width.

```
destroy(This :: wxGridCellTextEditor()) -> ok
```

Destroys the object.
