PDA

View Full Version : Grid drag and drop issue.



telo.tao.yang
25 Jul 2013, 6:50 AM
45039
Is there a way can:
drag from one grid to 2 grid and then drag from 2 grids to one?
if my plug in set as below:
plugins: {
ptype: 'gridviewdragdrop',
dragGroup: group1,
dropGroup: group2,
dropGroup: group3
},
can drag from grid 1 to grid 2 and 3, and can drag from 3 to 1, but can't drag from 2 to 1.
i think it's the incorrect setting for dropGroup, can you help? thanks.

jdflores
25 Jul 2013, 8:46 AM
You can specify other groups by calling addToGroup method of the plugin's underlying dragZone. Here is a link where I have 3 grids: http://jsfiddle.net/jdflores/XRV2x/

- The first can drop in second and third
- Second can drop only in first
- Third cannot drop in any

So you can play with where a grid can drop by controlling the group you add.