Author Topic: Drag and drop selected rows  (Read 251 times)

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Drag and drop selected rows
« on: August 08, 2023, 07:50:09 pm »
Hello
How to set drag and drop bunch of selected rows?

https://paramquery.com/pro/demos/dnd_group

above link is working but only single row at time and I wanted to drag and drop selected bunch of rows.

thank you

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Drag and drop selected rows
« Reply #1 on: August 08, 2023, 10:53:53 pm »
Drag n drop multiple rows:

First of all mutiple row selection is turned on or checkbox selection is turned on.

Then dragModel.dragNodes method is implemented as in this example to return array of selected or checked rows.

https://paramquery.com/pro/demos/dnd_tree