I had a similar need using two datagrid components.  I wanted to drag
from datagrid one to datagrid two, and also drag/drop within datagrid
two.  I had to determine the names of each datagrid to allow/deny drag
and drop targets.  You can check out my example and source code here:

http://thanksmister.com/?p=21

Hope it helps!

-mr

--- In [email protected], "tddclare" <[EMAIL PROTECTED]> wrote:
>
> I have a few lists whose items I want to drag and drop to another
> component.
> 
> I can roll my own and code the entire drag/drop operation, but I'm lazy.
> 
> I looked at the list-based drag and drop features, which look cool:
> <mx:List id="personList" dragEnabled="true" />
> <mx:List id="eventList" dragEnabled="true" />
> 
> but when I drop items on my eventual drag and drop target, I'd like
> the target to know a little more, like which list it came from (or
> more loosely coupled, what type of data it is (person or event).  
> 
> Is there a way to add a format to the list-based drag and drop
> dragSource, like "iAmAPerson" or "iAmAnEvent"?  
> 
> Or is this the line I cross and have to move into the DragDropManager?
> 
> -- TC
>






--
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