PDA

View Full Version : Move rows of Qtreeview up and down on button click



GAURAV PANT
23rd April 2014, 13:27
Hi,
I have a treeview and two buttons up and down.
Now on clicking up button the selected row should be moved up and similarly if down button is clicked then selected row should be moved down.

I have tried moveRow function but without any success.

Kindly Help.

Rajesh.Rathod
23rd April 2014, 14:14
Hi,
I have suggestion that on up/down button click you can restructure your row data (up/down) and refresh the table with required row selection change and it should work as you expect.