wxGrid // Drag and Drop Rows

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mspoerr
Experienced Solver
Experienced Solver
Posts: 50
Joined: Sat Mar 15, 2008 9:17 pm

wxGrid // Drag and Drop Rows

Post by mspoerr »

Hello,

I am looking for an equivalent to EnableDragColMove() in wxGrid. Is there a hidden built-in solution to drag and drop rows instead of columns? If not, what is an easy way to implement it?

Thanks,
/mspoerr
mspoerr
Experienced Solver
Experienced Solver
Posts: 50
Joined: Sat Mar 15, 2008 9:17 pm

Post by mspoerr »

is there no way to do it?

Thanks,
/mspoerr
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax »

There was a patch adding this behavior, but it was rejected.
http://trac.wxwidgets.org/ticket/10177

But maybe you can use it as a start to implement it yourself.
Use the source, Luke!
mspoerr
Experienced Solver
Experienced Solver
Posts: 50
Joined: Sat Mar 15, 2008 9:17 pm

Post by mspoerr »

Thank you very much. I will take a look and come back.

/mspoerr
mspoerr
Experienced Solver
Experienced Solver
Posts: 50
Joined: Sat Mar 15, 2008 9:17 pm

Post by mspoerr »

Hi,

I tried but unfortunately I failed with implementing this functionality. I didn't invest much time into it, because it's only a nice to have. Maybe it's available in future...

Thanks,
mspoerr
Post Reply