editable wx.grid.GRID_VALUE_CHOICE?

in the demo\GridCustTable.py, we can find
[code]
self.dataTypes = [gridlib.GRID_VALUE_NUMBER,
                          gridlib.GRID_VALUE_STRING,
                          gridlib.GRID_VALUE_CHOICE + ':only in a
million years!,wish list,minor,normal,major,critical',
                          gridlib.GRID_VALUE_NUMBER + ':1,5',
                          gridlib.GRID_VALUE_CHOICE + ':all,MSW,GTK,other',
                          gridlib.GRID_VALUE_BOOL,
                          gridlib.GRID_VALUE_BOOL,
                          gridlib.GRID_VALUE_DATETIME,
                          gridlib.GRID_VALUE_FLOAT + ':6,2',
                          ]
[/code]
thus, the 3rd column is a choice control with 6 predefined items

but what if I want it to be a choice control that the user can input
his owen choice?

thanx

wx.ComboBox.
(Or others like it...see the wxPython demo)

···

On Tue, Apr 14, 2009 at 11:13 PM, oyster <lepto.python@gmail.com> wrote:

in the demo\GridCustTable.py, we can find
[code]
self.dataTypes = [gridlib.GRID_VALUE_NUMBER,
gridlib.GRID_VALUE_STRING,
gridlib.GRID_VALUE_CHOICE + ':only in a
million years!,wish list,minor,normal,major,critical',
gridlib.GRID_VALUE_NUMBER + ':1,5',
gridlib.GRID_VALUE_CHOICE + ':all,MSW,GTK,other',
gridlib.GRID_VALUE_BOOL,
gridlib.GRID_VALUE_BOOL,
gridlib.GRID_VALUE_DATETIME,
gridlib.GRID_VALUE_FLOAT + ':6,2',
]
[/code]
thus, the 3rd column is a choice control with 6 predefined items

but what if I want it to be a choice control that the user can input
his owen choice?