I have implemented a very simplistic drag/drop with a single Tree 
component (dragEnabled="true" dropEnabled="true") and would like to 
keep it as simple as possible.

But is there any way to limit items within the component that can or 
can not drag or be dragged to?

i.e. in my case, my tree will always consist of three levels (Root 
Folder:Collection of folders:Collection of files), and files will only 
exist in the last level.

I want to be able to limit:
1) Can not start dragging any item except for a file
2) Can not drop a file to anywhere except another last-level folder 
(i.e. can't drop to the root).

Should be simple, but I'm a bit confused by the drag examples given at 
the livedocs...

 - Chris





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to