Yes, there is an example in the docs under the heading:

"Using drag-and-drop with list-based controls"

Subheading:

Dragging and dropping in the same control

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tracy Spratt
Sent: Wednesday, January 21, 2009 12:14 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re-parenting Tree nodes using drag & drop

 

Hmm, that should be standard functionality.  I have used Tree DnD to
rearrange xml regularly, though not recently.  I wil look for a simple
example.  Have you tried this?

 

As I recall, it can be difficult to drop the first child node into an
empty parent.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Yves Riel
Sent: Wednesday, January 21, 2009 11:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re-parenting Tree nodes using drag & drop

 

I looked in the archive but didn't find any useful information for this.
So, here it is: I have a Flex Tree component in which I want to
re-parent a node using drag & drop. Basically, I want to be able to take
a node, drag it on top of another node and that the dragged node be
added as a child. The standard Flex Tree will not allow this (unless I
don't know how to set it up) and I didn't find any open source component
on the net. Does any one have or has seen such a tree?

 

Thanks!

 

Reply via email to