IE7 ends up throwing an error here -
return docObj.selectNodes(xpathExp)||new Array(0)
The code is mangled, so here’s the code surrounding this code that is crashing :
docObj = this.xmlDoc;if (!docObj)dhtmlxError.throwError(“LoadXML”,“Incorrect XML”,[(docObj||this.xmlDoc),this.mainObject]);if(namespace!=null)docObj.setProperty(“SelectionNamespaces”,“xmlns:xsl=’”+namespace+"’");if(result_type==‘single’){return docObj.selectSingleNode(xpathExp)}else{return docObj.selectNodes(xpathExp)||new Array(0)}}else{var nodeObj = docObj;if(!docObj){if(!this.xmlDoc.nodeName){docObj = this.xmlDoc.responseXML
The Output from IE7 is :
Microsoft JScript runtime error: Object doesn’t support this property or method
Please provide more details - which data loading method are you using?
The mentioned error occurs when grid not able to transform incoming data into valid XML object, but local tests works correctly for all supported datasources.
Also, please try to use attached js file instead of original one ( this is latest build of dhtmlxgrid 1.6 standard edition ) , it has minor fix related to loading from XML islands in IE , which may resolve problem in your case.
dhtmlxgrid.zip (32.2 KB)
With that updated file, the XML still fails to load, but I do not get this error. So this has fixed the error I mentioned above. BTW, I use AJAX to request XML for a grid, and I take the AJAX response and load then use the loadXMLString method. Thanks for the updated file, any change of getting a compressed version?
Compressed version attached ( the full package at scbr.com/docs/products/dhtml … lxGrid.zip already must contain mentioned fix as well )
dhtmlxgrid.zip (21.7 KB)
Thank you. I’d already had downloaded dhtmlXGrid 1.6, didn’t realize there was a newer version of 1.6.