ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: hirehop on August 08, 2023, 07:50:09 pm

Title: Drag and drop selected rows
Post by: hirehop 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 (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
Title: Re: Drag and drop selected rows
Post by: paramvir 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