DHTMLXTreeGrid: Firefox problem with loading subrows (xmlKid


I have an example where I am loading certain rows of the table as children rows of one of the rows. When I click on the plus sign, I should get the sub rows from a dynamic script.

I used the URL

dhtmlx.com/docs/products/dht … 6389846000

as an example, and got it to work with IE7. But I am not able to get it to work with Firefox.

Through Firebug, I can see that when I click on the ‘plus’, the request is sent to the server, and the URL is also formed correctly. I can even see the return value XML, which looks like follows:




The parent XML looks like:

<?xml version="1.0" encoding="iso-8859-1"?>







<row style=“padding:5px;font-size:13px;font-weight:bold;background-color:#95a7d3” id=“header_1”



The XML code which you provided basically correct, but it contains few problematic places
a) μ,σ = > ampersand need to be escaped
(N=3), => the tags need to be escaped, or enclosed in CDATA section

Please check attached sample.- it works in both IE and FF

( The FF has problem loading XML if it started not from top xml tag, but from some white-spaces - please be sure that it not occurs in your case )

1206440546.ZIP (1.31 KB)

I found out what was wrong with my example. It was the content type.

I am using a URL to return a dynamically created XML. 

That xml was being returned as text/html instead of the correct content type (I found out from Firebug).

I had to modify my web servlet to handle this content type, and return the xml as a application/xml type instead. Somehow IE seems to work even without setting the content type.

Thanks for your response though.


Somehow IE seems to work even without setting the content type.
In case of IE, loading with incorrect content type is more serious problem, it cause immediate parsing error, dhtmlx loader can detect such error and uses alternative processing method in such case.
So far there was no reports about content type related problems with FF, but seems it also can be important.