The editor for numeric integer data.
Derived from
wxGridCellTextEditor
wxGridCellEditor
See also
wxGridCellEditor, wxGridCellFloatEditor, wxGridCellBoolEditor, wxGridCellTextEditor, wxGridCellChoiceEditor
Include files
<wx/grid.h>
Members
wxGridCellNumberEditor::wxGridCellNumberEditor
wxGridCellNumberEditor::GetString
wxGridCellNumberEditor::HasRange
wxGridCellNumberEditor::SetParameters
wxGridCellNumberEditor(int min = -1, int max = -1)
Allows to specify the range for acceptable data; if min == max == -1, no range checking is done
wxString GetString() const
String representation of the value.
bool HasRange() const
If the return value is true, the editor uses a wxSpinCtrl to get user input, otherwise it uses a wxTextCtrl.
void SetParameters(const wxString& params)
Parameters string format is "min,max".