|
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 p: 212.822.4821 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
|
- RE: [flexcoders] drag drop Robert Brueckmann
- RE: [flexcoders] drag drop Ashish Goyal
- RE: [flexcoders] drag drop Robert Brueckmann

