View Full Version : Tree to form drag and drop

28 Jul 2013, 9:26 AM
First time using drag and drop, i do not have more idea about drag and drop.
I have a view port where west region having tree and central region having a form .
I tried to implement drag and drop from tree to from.

My code for drag and drop plugins in tree view is -

viewConfig: {
plugins: {
ddGroup: 'dropGroup1',
ptype: 'treeviewdragdrop',
enableDrag: true,
enableDrop: false

And inside form panel i set same drag and drop group-

ddGroup: 'dropGroup1'

My issue is form panel don't allow to drop. Please let me know where i'm making mistake and how i can fix it?


30 Jul 2013, 4:51 PM
You might check out this example:

In the example you see the grid view plugin of "gridviewdragdrop". Since this is a tree you'll instead use "treeviewdragdrop", but otherwise it should be the same or at the very least a great place to start.