Login Register

Drag and drop :: Need a Source with items which will not move to target but get copied.

I have an application with Dojo.Dnd

There is one source with say 5 items. When user drags an item(s) to a target, I want the original item not to be moved to target but instead a copy should be moved to target. As a result, the source will have always 5 items, even after the move.

Does Dojo support this functionality, if yes, what is that I need to change in the Source of the type dojo.dnd.Source?

Please let me know,
Thanks
Ashish

We just discussed it. Take a

We just discussed it. Take a look at this thread: http://www.dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/dr...