wxGrid row reordering by dragging

Tomáš Bedřich wrote:

Hello,
I would like to allow an user to reorder my grid simply by draging rows.
Is it possible please? I haven't found any example neither related method.

See the GridDragable sample in the demo.

···

--
Robin Dunn
Software Craftsman

Dear Robin, thank you very much. I haven’t found this demo.

Dne středa, 27. března 2013 1:34:24 UTC+1 Robin Dunn napsal(a):

···

Tomáš Bedřich wrote:

Hello,
I would like to allow an user to reorder my grid simply by draging rows.
Is it possible please? I haven’t found any example neither related method.

See the GridDragable sample in the demo.


Robin Dunn
Software Craftsman
http://wxPython.org

Why isn’t this one actually in the demo itself (maybe I’m just not seeing it)? I have the 2.9.3.1 demo. I can access it on Windows here though:

C:\Program Files (x86)\wxPython2.9 Docs and Demos\demo\GridDragable.py

  • Mike
···

On Wednesday, March 27, 2013 8:34:30 AM UTC-5, Tomáš Bedřich wrote:

Dear Robin, thank you very much. I haven’t found this demo.

Dne středa, 27. března 2013 1:34:24 UTC+1 Robin Dunn napsal(a):

Tomáš Bedřich wrote:

Hello,
I would like to allow an user to reorder my grid simply by draging rows.
Is it possible please? I haven’t found any example neither related method.

See the GridDragable sample in the demo.


Robin Dunn
Software Craftsman
http://wxPython.org

Mike Driscoll wrote:

    Dear Robin, thank you very much. I haven't found this demo.

    Dne stďż˝eda, 27. bďż˝ezna 2013 1:34:24 UTC+1 Robin Dunn napsal(a):

        Tomďż˝ Bedďż˝ich wrote:
         > Hello,
         > I would like to allow an user to reorder my grid simply by
        draging rows.
         > Is it possible please? I haven't found any example neither
        related method.

        See the GridDragable sample in the demo.

Why isn't this one actually in the demo itself (maybe I'm just not
seeing it)? I have the 2.9.3.1 demo. I can access it on Windows here though:

C:\Program Files (x86)\wxPython2.9 Docs and Demos\demo\GridDragable.py

Sorry, I forgot that it doesn't have its own entry in the tree. If you go to the main Grid sample in the demo then the next-to-last button will run GridDragable.

···

On Wednesday, March 27, 2013 8:34:30 AM UTC-5, Tom� Bed�ich wrote:

--
Robin Dunn
Software Craftsman