Login Register

item

Drag & Drop - update the value of input elements

Hi,

i have some problems with dojo.dnd. I want to implement the Drag & Drop Funtion with JavaScript, so that the dnd items will be generated dynamicly and i can change the positions of them in the container. And now the problem:

when i include some input elements into the items, change the values and move the items, they wont be updated at the avatar. Why? Can someone help me?

Thanks

The Code

index.html

First Widget
 

Parent of Tree item

Hi all

This Probably is a very basic question, sorry.
I have a Tree(rootWidget) bound to an empty context menu (treeMenu), the context menu items/submenues are then created, dynamically according to the different tree nodes types with:
dojo.connect(treeMenu, "_openMyself", rootWidget, CreateDynMenu);

The CreateDynMenu is something like:

CreateDynMenu(e){

myNode = dijit.getEnclosingWidget(e.target).item;
...............
................
................
}
Where myNode.order is the 'Identifier' of the tree data.

reordering nodes in a Tree

I am using an ItemFileWriteStore to store data for my Tree widget. How can I go about reordering the top level nodes in my Tree? This might be a question that deals more with the ItemFileWriteStore, if so, please move this post to correct category.

Thanks!

Syndicate content