---
name: "wxGridCellNumberEditor"
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/wxGridCellNumberEditor"
---

# wxGridCellNumberEditor(3erl)

Functions for wxGridCellNumberEditor class

## NAME

wxGridCellNumberEditor - Functions for wxGridCellNumberEditor class

## DESCRIPTION

Grid cell editor for numeric integer data.

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

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

wxWidgets docs: wxGridCellNumberEditor

## DATA TYPES

```
wxGridCellNumberEditor() = wx:wx_object()
```

## EXPORTS

```
new() -> wxGridCellNumberEditor()
```

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

Types:

Option = {min, integer()} \| {max, integer()}\

Allows you to specify the range for acceptable data.

Values equal to -1 for both *min* and *max* indicate that no range checking should be done.

```
getValue(This) -> unicode:charlist()
```

Types:

This = wxGridCellNumberEditor()\

Returns the value currently in the editor control.

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

Types:

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

Parameters string format is "min,max".

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

Destroys the object.
