ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
Re: [wxpython-users] wx.ListCtrl(), Report Mode, Editing Columns
by Mike Driscoll other posts by this author
May 9 2008 1:11PM messages near this date
Re: [wxpython-users] wx.ListCtrl(), Report Mode, Editing Columns | Re: [wxpython-users] wx.ListCtrl(), Report Mode, Editing Columns
Rich,
>  <snip>
> 
> >   How to get all items in the row so one or more can be edited in a 
> > report
> > mode list seems to be evading my efforts. Perhaps I should reframe my
> > question to "given that editing is not trivial with a report mode 
> > list, how
> > should I go about allowing editing?"
> 
>  For in place editing is the wx.lib.mixins.listctrl.TextEditMixin, or 
>  you can just switch to wx.grid.Grid.  Or you can not use in place 
>  editing but instead popup a dilog when an item in the list is 
>  activated (double clicked or Enter is pressed) that contains the 
>  values to be edited.  If the dialog is completed successfully you can 
>  put the values back into the list ctrl.
> 
> 
I've used both of these methods for various problems and they work 
great. The mixin is a little wonky in that you need to select the "cell" 
twice, but it works!

Mike

_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Rich Shepard
Robin Dunn
Mike Driscoll
Rich Shepard
Rich Shepard
Robin Dunn
Rich Shepard
Robin Dunn
C M
C M
Mike Driscoll
Rich Shepard
Rich Shepard
Robin Dunn
Rich Shepard

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved