PDA

View Full Version : Grid DnD



inbali
9 Mar 2016, 5:06 AM
Regarding the following example: Exmple (http://dev.sencha.com/deploy/ext-4.0.0/examples/dd/dnd_grid_to_grid.html)

I would like to make drag and drop on one grid and not between grids.
I assume that values of "dragGroup", "dropGroup" should be the same in my case, but what is the
exact value should be in there?
I could not find in the code example where is the declaration of:
'firstGridDDGroup',
'secondGridDDGroup'
Therefore, I don't understand what these values stands for and what should I use instead in my example.

Thanks in advanced!

alex.volfson
11 Mar 2016, 2:14 PM
They're just references to the drag group. Pick a name and use it for both. I don't know if it will, though.