Re: Tab induced "cell edit shown" only occuring for every other cell in wx.grid

Anders Munch <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <AM0PR05MB6531BD5D878A1BE6D8187053B4230@AM0PR05MB6531.eurprd05.prod.outlook.com>
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/AM0PR05MB6531BD5D878A1BE6D8187053B4230%40AM0PR05MB6531.eurprd05.prod.outlook.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.