Error using grid.parse with XML data string

I’m trying to populate a grid with an XML string. My code is as follows:

<body onload="initGrid()">

When I display the page I get an error:
Line: 133
Error: Unable to get value of the property ‘doXPath’: object is null or undefined

I need to use this method to load as I do not want to create a huge page of dynamically created as per tha sample (which does work ok).

What am I doing wrong ?


Unfortunately we cannot reproduce this issue locally. Please check if you are using latest version of dhtlxGrid

The version I am using is v.3.0 build 110707. Interestingly I also tried using the loadXMLString call and the error I get is “Error: Object doesn’t support property or method ‘loadXMLString’”

Not sure if this is significant…

Please open ticket at and we will provide you fixed version of dhtmlxgrid.js file

I’m not a registered user (yet!) as I’m still evaluating the components so I can’t open a ticket.

If you are evaluating dhtmlxGrid PRO please contact