We format the dropped data as either "treeItems" if the data is sourced
from a Tree control or "items" if sourced from a non-Tree control (List,
DataGrid, etc). This formatting allows additional information to be
gleaned from the dropped items so that, for instance, a Tree knows the
indentation of the node and whether it's a leaf or branch, etc. When
dropping from a Tree to a non-Tree, that's all the conversion you have
to. When dropping from a non-Tree to a Tree, you need to do the
conversion as well as add in that additional information. 

 

Here's an example of dropping from a non-Tree to a Tree (List to Tree
drop): http://www.adobe.com/devnet/flex/quickstart/working_with_tree/

 

This should get you on the right path.

 

Deepa Subramaniam

Adobe Flex SDK

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Joseph Abenhaim
Sent: Tuesday, March 27, 2007 12:11 PM
To: [email protected]
Subject: [flexcomponents] Drag Drop from tree to list

 

Hi all,

 

I'm trying to Drag from a Tree and drop onto a List but it's not letting
me, is there any data conversion that needs to be done in order to do
that ? any examples would be great.

 

Thanks!

Joseph.

 

________________________________

Under Florida law, e-mail addresses are public records. If you do not
want your e-mail address released in response to a public records
request, do not send electronic mail to this entity. Instead, contact
this office by phone or in writing. 

 

Reply via email to