I'm lookin for a way to drag a group of selected rows using jqGrid.
Asked
Active
Viewed 1.6k times
1 Answers
6
Look at http://trirand.com/blog/jqgrid/jqgrid.html. Choose on the left tree "New in Version 3.6" and then "Drag and Drop Rows".
If you means "drag a group of selected rows" inside one jqGrid table choose "Sortable Rows" on the same demo page. If you need this feature it can be interesting to look at jqGrid disable sortablerows where I describe how one can allow only selected rows be sortable (per drag a drop)
-
Sorry but it don't "Sortable Rows" don't let me move a group of selected rows. i can only drag & drop one at a time. Tell me if i'm missing on something. I need to select (for example using shift or ctrl) a couple of rows an drag & drop. – diego2k May 18 '10 at 17:58
-
Sorry, but you should write more exactly what you want in your question. Moreover it's good to hold the same terminology which has the control which you plan to use (jqGrid). Please update your question and add exactly what you want. Is it sorting of multiple rows inside one jqGrid? You should look at the demo page http://trirand.com/blog/jqgrid/jqgrid.html to see different features of jqGrid. If you want use "multiselect" jqGrid, this grid (How I know) has no special support of rows sorting. Look at http://stackoverflow.com/questions/2747289/jqgrid-disable-sortablerows/2775577#2775577 also. – Oleg May 18 '10 at 19:24
-
@oleg I think the question is not about 'sortable' Just asking how to move more than one rows into another grid. Do you have an idea? – kamaci Nov 02 '11 at 08:38
-
@kamaci: One can read in the question about the row movement and about "drag a group of selected rows". Both can interpret as movement or rows inside one grid or between two grids. jqGrid has `sortableRows` method for one case and `gridDnD` for another. It doesn't matter what wanted diego2k more as year ago because he never commented my answer. What is *your* problem? Why you decide to comment the old answer? – Oleg Nov 02 '11 at 09:52
-
@Oleg cos I have the same problem and didn't want to start new question that already exist so why I asked you about your opinion. – kamaci Nov 02 '11 at 11:12
-
Neither that question nor documentation explains how to drag more then one row. – kamaci Nov 02 '11 at 12:10
-
@kamaci: That's your question! One can't drag more then one row in jqGrid. It's restriction of the current implementation. – Oleg Nov 02 '11 at 12:26
-
I think `I'm lookin for a way to drag a group of selected rows using jqGrid.` is same with my question. – kamaci Nov 02 '11 at 12:36
-
@kamaci: You can move rows but **not in one drag&drop operation**. Look at [here](http://stackoverflow.com/questions/3235828/jqgrid-drag-and-drop-multiple-rows/3236576#3236576). – Oleg Nov 02 '11 at 12:44
-
Sorry folks for not came back with some feedback the point is that i give up with this, no way to drag a group of selected rows. – diego2k Mar 20 '12 at 11:39