PDA

View Full Version : darg from tree and drop to Portal



tababala
11 Nov 2012, 3:27 AM
hi
I have one panel whose layout is border layout and in the center of this panel, there is a portal. Also, there is a tree in the west region of the panel.
I want add new portlet to the portal by dragging one node from tree and dropping it to the portal.

Do you have any idea how I can do this?

regards

mitchellsimoens
13 Nov 2012, 5:59 PM
You need to use the Ext.tree.plugin.TreeViewDragDrop to easily get the tree to be D&D. Then the portal you need to create a drop zone with the same ddGroup.

tababala
14 Nov 2012, 9:00 PM
Hi
Can i use PortalDropZone(that exist in extjs portal sample)?How?