Hi,
I’am using loadXMLString to initialize a dhtmlxTreeGrid header.
When i execute the following command,
Grille.loadXMLString(’<?xml version="1.0" encoding="ISO-8859-1"?> Fonctions Avance Consultation Creation Suppression Modification Suppression ', finirInitialisationGrille);
an error occurs in alert dialog box : “Error type : LoadXML, Description : Incorrect XML”
some ideas?
Could you help me?
Regards
IE supports only UTF-8 encoding for loadXMLSring, this is limitation of browser , which can’t be fixed.
Sorry,
I didn’t add you that i use Mozilla Firefox.
My problem appears with firefox.
regards.
I tried to put the xml string (<?xml version="1.0" encoding="UTF-8"?>FonctionsAvancéConsultationCréationSuppressionModificationSuppression) in a xml file.
Then I used loadXML function and it was working fine!
I hope this information could help you.
I have to use loadXMLString in my project.
Please help me.
Regards.
The same code works correctly locally. ( in FF )
Working sample send by email.
Which version of dhtmlxgrid you are using?
If you are using dhtmlxgrid 2.0 and issue still occurs for you - please provide any kind of sample where problem can be reconstructed (you can send it directly to support@dhtmlx.com )