wxGrid with custom editors, several question

Robin Dunn wrote:

Basil Shubin wrote:

The third question is: I can get selected value from choices via GetValue method of the table, but I want get the position of item in choices string, i.e. 0,1 or 3 and so on from the 'titleChoices'. How can I make so?

titleChoices.index(value)

Oops, titleChoices probably isn't a list is it. Well, convert it to a list and then you can use index() :wink:

路路路

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!