PDA

View Full Version : contentpanel droptarget for treenodes?



digitalkaoz
16 Jun 2007, 11:23 AM
is it possible to make a content-panel a droptarget for treenodes, and execute some function on this contentpanel? the treenode shouldn't be removed the tree... dont know if its possible, and how to start?
maybe someone got a shorthand example?

jsakalos
16 Jun 2007, 2:01 PM
is it possible to make a content-panel a droptarget for treenodes, and execute some function on this contentpanel? the treenode shouldn't be removed the tree... dont know if its possible, and how to start?
maybe someone got a shorthand example?

Yes, it's possible. Setting of same ddGroup for tree and content panel is mandatory.

There is a lot of examples on drag & drop on this forum - it's worth to search; also I'm using advanced DD in Accordion. You can see complete code on the Live Demo Page (http://aariadne.com/accordion).