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