Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kwang Hyun on May 05, 2009 23:47
open dhtmlx forum
dhtmlxGrid init error, did I fixed it right?

Hello,
Our company bought enterpise edition license and received dhtmlxSuite 90226 version.
but I can't initialize dhtmlxGrid with an error line 1 of dhtmlxgrid.js .

So I try to find out what occured, and finally I find a strange something.


line 2896 in source file, that describe below

var out = '<?xml version="1.0"?><rows>';



but this code [ <?xml ] was crashed on our web server.

so I changed that code to

var out = "<" + "?xml version='1.0'?" + "><rows>";

and it does work well.

Did I fixed right? please advice to me :)

Thank you very much.
Answer posted by Support on May 06, 2009 02:40
It's pretty strange that mentioned instruction causes problems in first place ( it seems your server process js files with some XML based logic, while normally, js files outputted unchanged ) 
Are you using some special server software?

>>Did I fixed right?
Such changes will not break any other logic, and must not change anything in grid's functionality.