Using dojo.dnd, I want to allow the user to drag only one item at a time , and not any arbitrary number according to the default dojo behavior.
At the moment, the user can hold Ctrl and simultaneously click on several draggable elements, and then drag them as a group. I want to disable this so that the user can only drag one item at a time.
I am using dojo.dnd.Source () as shown below.
new dojo.dnd.Source(containerNode)
... which makes all containerNode child nodes draggable.
Thanks.
source
share