Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 07, 2007 10:56
open dhtmlx forum
I am trying to get the dynamic update to work and have been through your docs but am still not sure what ...

I am trying to get the dynamic update to work and have been through your docs but am still not sure what I need to call/set. Here is what I have done:

1) In my xml, I have added the property child="1" for nodes with children child="0" for nodes without children

2) In the html page which houses the control, through Javascript in the onLoad event (page load), I call tree1.setXMLAutoLoading(url). My assumption is that the url specified will be called whenever the user attempts to expand a tree. I have a breakpoint set and the URL NEVER gets called. Is there something else that I need to do to make this happen?
Answer posted on Mar 07, 2007 10:57

You don't need to specify any additional commands to enable dynamical loading (but you still need to call tree1.loadXML(url) method to load first level of the tree).

(see in documentation samples/treeEx31.html)

Also, In case of old Tree code problem can be caused by IECaching issue, you can try to execute

                tree.preventIECashing(true);
Answer posted by Embre (Support) on Dec 08, 2014 17:52

Not much can be said in addition to the reply above, but you also can check ui javascript and tree view php and find out what we have probably missed in our explanation.