Hi, I am trying to do the drag&drop (dnd) for nested sources at runtime. But i am not able to do it. If any one can help me in this it will be a great help.
source
Drag and Drop from 'target' back to 'source'
Submitted by Spazmo on Mon, 11/03/2008 - 16:16.
Hello!
I've got a page that allows users to drag and drop from a div defined as a 'source' to a div defined as a 'target.' However, I need for the user to be able to drag items back to the 'source' div. Is this possible, or do I need to redesign how this works?
Thanks!
Spaz
[Solved] source.getItem(this.manager.nodes[i].id) is undefined (dynamic dnd)
Submitted by duckwilliamson on Thu, 07/10/2008 - 05:05.
Hi,
I've been searching the forums for an answer regarding dynamically adding/removing nodes to a dojo.dnd.Source and have been successful in that it essentially "works". Even though it does work, I get the following error in my ff console:
Error: source.getItem(this.manager.nodes[i].id) is undefined Source File: http://localhost/trunk/public/scripts/dojo/dojo/dojo.js.uncompressed.js Line: 477
whenever I drag a created node. Has anyone come across such an error or can guide me on finding out more about what it is? Line 477 is a line a block comment.
Here's my creator:
