Thanks Ashish!  I couldn’t find anything like that in the documentation anywhere!  Thanks a lot.

 

Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: Friday, April 22, 2005 12:36 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] drag drop

 

You can get the dragging source by using - event.dragSource.dataForFormat("source").

 

Thanks

-Ashish

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
Sent: Friday, April 22, 2005 9:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] drag drop

Is there any way to get the id of the component which is the source from which you're dragging items from?

I'm trying to do 2 things on a page.  I have a list of indices and a blank list...the user first can drag indices over to the blank list and then once they've dragged them over, they can then drag and drop within the list to order them accordingly...so I have the initial drag & drop done without a hitch...but I can figure out the intra-list drag & dropping for ordering purposes...I thought one way would be in the the doDragOver function, I would simply check the id of the source and against the id of the destination and if they're equal make it a move action, otherwise it's a copy action...I can get the id of the destination without a hitch but I can't figure out how to retrieve the id of the source the item is being dragged from.

Possible?  Should I just add an up and down arrow next to the list and make them select the items and call the setChildIndex method on the item in the list instead of doing the whole drag & drop thing?

Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820

 


This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

 

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


Yahoo! Groups Links

Reply via email to