View Full Version : how to use draggroup and dropgroup of ext.grid.panel for more than one group?

4 Dec 2011, 2:52 AM
I am using dnd_grid_to_grid.js example. In that drag and drop from one grid to another is possible. I want to male drag and drop within the same grid also.
Ple5asseanotheranother anotherPlease provide the code for the same


4 Dec 2011, 10:52 AM
See the example here for drag/drop within a single grid:


27 Sep 2012, 3:05 PM
Ok, I think what skirtle was asking was this:

You have two grids. You show in the examples how to drag between these two grids. You also show how to drag within a single grid. But what if you want to set up configurations for this:
Grid A: Can drag rows to Grid B
Can't drag and drop inside itself
Grid B: Can drag rows to Grid A
Can drag and drop inside itself.

I know you can set the drag and drop groups on Grid A to:

dragGroup: 'GridA',
dropGroup: 'GridB'
And I know if I set Grid B to:

dragGroup: 'GridB',
dropGroup: 'GridB'
it'll drag and drop inside itself.
So I think if I want to let Grid B drop back into Grid A without allowing Grid A to drag inside itself, I need to add a second group to Grid B's drop group

Am I off base in that assumption? If not, how do I assign multiple groups?

12 Sep 2016, 12:33 PM
I have a similar situation as mentioned by Alane.

Is there a solution for this?

Some of the other posts as

do not work for me.


26 Jan 2018, 8:09 AM
Still seeking a solution for this for Ext 5.1.1.