Login Register

source

problem in dnd for nested sources at runtime

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.

Drag and Drop from 'target' back to 'source'

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)

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:

Syndicate content