Unsolved TableView drag and drop rows
-
Hey all,
I've been trying to figure out a way to reposition rows in a Qt Quick TableView by using drag and drop. I've been following the examples here for drag and drop with a ListView, but it's not quite what I'm looking for. I've been able to drag individual column items and a row background, but I haven't figured out a way to drag the entire contents of a row (background plus all column items) for re-ordering. Does anyone have any suggestions?
-
Hi,
did you activate selection of complete rows? Maybe then it works automatically.
Otherwise you will have to move the other items of a row yourself i.e. write code that does that based on the one item that gets moved by the mouse.
-Michael.