I would like to know how ot update the data of the dojo.dijit.tree component dynamically. At the moment I\'m creating the tree using dojo.data.ItemFileReadStore and dijit.tree.F
Thanks for this function, works great in my tree.
A notice to those who are new to dojo (like me)... After creation of the tree, it is needed to extend the tree with the refresh function:
dojo.extend(dijit.Tree, {
refresh: function() {
this.dndController.selectNone();
//...
}
});
Then you can call the function with:
dijit.byId('myTree').refresh();