Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 21, 2007 17:05
open dhtmlx forum
I need to be able to load the XML definition for the menu tree structure from a serve side.  Basica...

I need to be able to load the XML definition for the menu tree structure from a serve side.  Basically, I want to be able to do something like this:

                        tree1.loadXML("http://www.anyschool.edu/project/handler.do")

 

It is an arbitrary URL (pointing to a Servlet, for instance) whose response contains the xml definition.  This is not the same as the dynamic loading feature though; my tree structure is small so I can and I want to load the whole thing at one time. Does your package support that?
Answer posted on Feb 21, 2007 17:06

Yes you can use loadXML() for this. If you have problems please make sure your routine returns valid xml, its content type is text/xml and it doesn’t contain any white spaces before tag <?xml (if you use this tag).

Answer posted by Darya (Support) on Dec 07, 2014 11:07

The information connected with xml grid editor and combobox api also can help you, so please check it too.