11 Nov 2012 3:27 AM #1
Unanswered: darg from tree and drop to Portal
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?
13 Nov 2012 5:59 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
14 Nov 2012 9:00 PM #3
Can i use PortalDropZone(that exist in extjs portal sample)?How?