Re: Tab induced "cell edit shown" only occuring for every other cell in wx.grid
Sommerforsker <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the quick reply Anders. I tried to make the tables with separate widgets instead, and it has made the app more flexible and functional. Best regards, Sommerforsker mandag 14. september 2020 kl. 15:02:00 UTC+2 skrev Anders Munch: > Sommerforsker wrote: > > I am trying to automatically induce the editing of a grid cell when it is > > chosen, in order to require one less keystroke when editing cells with > > GridCellChoiceEditor(). > > Are you sure you want to use wx.Grid? If instead you use a lot of simple > controls kept in grid shape with a wx.GridBagSizer, then you can avoid > this kind > of problems. > > wxGrid has the advantage that you can have thousands of cells without > expending > significant resources. But it comes at a usability cost: wxGrid is > designed to > work such that you explicitly enter and exit editing, and if you try to > use it > differently then you're going against the grain and it gets messy. > > If you don't have thousands of cells, but merely hundreds, then you will > get > much better results with simple controls in sizers. > > regards, Anders > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/cb9dbbc4-b34d-4f2c-963a-7e303c7be878n%40googlegroups.com.