Ed wrote,
I have a grid control backed by a table-object. I would like
editable cells to go straight to edit mode when they are selected
but I'm having trouble figuring out how. Any help would be greatly
appreciated..
We've added that into Dabo, since it is pretty annoying to have
to click twice. The key is to bind the GridCellSelected event to a
method that does something like this:
Thanks for the response, your framework looks interesting.
However, I'm using plain wxPython and still having no luck. I'm handling the EVT_GRID_SELECT_CELL event, but I can't figure out how to invoke the cell editor. grid.ShowCellEditControl() seems to have no effect...
I notice you are using a functoin dabo.ui.callAfter method, presumably to call a function in the next event loop, correct? Perhaps that is my problem, I need to call ShowCellEditControl after the current event loop finishes? If so, how would I do that in wxPython?
Arnar