Disable tree caching for already expanded items

Hi all,



I have a tree where I’m loading data calling:



tree.setXMLAutoLoading("/myAction.do");

tree.loadJSON("/myAction.do?id=…");



I’ve noticed that, for already expanded items in tree, myAction.do isn’t called, and that is a problem because if I change those items I don’t see in tree their refreshed states.



So my question is, what should I do to disable this mode and to always call myAction.do to reload data?



Thanks for helping and best regards



Raffaele Gambelli


Hello,


you can set onOpen event handler that will always load branch from the server.


tree.attachEvent(“onOpenStart”,function(id){


/your code here/


})