Drag and Drop multiple items between lists at once

A

anchi.chen

Hi People,

Just wondering if any of you have ever come across any javascript
examples that will allow one to drag and drop multiple items between
lists? That is, users would be able to use the "Shift" or "Ctrl"
buttons to select multiple items from LIST 1 and drag them to LIST 2 in
one go.

I've already have the code to drag and drop between lists but for 1
item at a time. The only method to move multiple items between lists
in one go that I'm aware of is to use <select multiple>, but with this
approach I loose the drag and drop feature and will be stuck with
buttons.

If any of you could help I'll really appreciate it.


Thank you
AC
 
P

Peter Michaux

Hi People,

Just wondering if any of you have ever come across any javascript
examples that will allow one to drag and drop multiple items between
lists? That is, users would be able to use the "Shift" or "Ctrl"
buttons to select multiple items from LIST 1 and drag them to LIST 2 in
one go.

I've already have the code to drag and drop between lists but for 1
item at a time. The only method to move multiple items between lists
in one go that I'm aware of is to use <select multiple>, but with this
approach I loose the drag and drop feature and will be stuck with
buttons.

You can probably add mutiple drag behavior quickly to your existing
code. I wrote up an example for adding this to the Yahoo! UI

<URL: http://peter.michaux.ca/article/4>

And here is a more recent example with my drag library

<URL: http://forkjavascript.org/drag/multiple>

Peter
 
A

anchi.chen

Hi Peter,

Thanks so much for your examples. I'll give them a try now.

Thanks again.
An Chi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top