Home › Forums › Guriddo jqGrid JS › drag drop multiple rows
This topic contains 4 replies, has 3 voices, and was last updated by dailyxe 4 months, 2 weeks ago.
I have enabled drag and drop between 2 grids and it works (one row at a time).
But I also would like to move more row at the same time. I read that guriddo does not support multi row drag and drop, but can i achieve it with multiselect?
In other words, I multi select some rows and then i click a button to move the rows to another grid (as drag and drop).
Could anybody help me? I don’t know what to write to do that.
I’m not sure that you need drag and drop in this case to move the columns from one grid to another.
To do this it is a simple solution – add mutiselect option in the grid and then define a button which on click should do the following:
1.Check to see if in the source grid there are selected rows. If there are such one, get the id of the selected rows (use getGridParam and selarrrow parameter)
2. using getRowData get the data of the selected row(s)
3. Insert the data of the selected row(s) using addRowData int the target grid
4. Delete the selected row(s) from the source grid
Simple and useful.
Guriddo Support Team
thank you very much, i will try your suggestion!
it works great! thanks!
i have problem too. Thanks you for help
You must be logged in to reply to this topic.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS