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
|