Trouble using dhtmlxgrid and enableSmartRendering

We are having a problem getting the enableSmartRendering method to work. We are able to populate a grid using xml returned by a server using the grid.load(xml) method, but only if the xml does not include the “total_count” and “pos” rows attributes. The code we are using is as follows:

var url = “/some/server/url”;
grid = new dhtmlXGridObject(‘gridbox’);
grid.init();
grid.enableSmartRendering(true)
grid.load(url);

and a sample of the xml being returned form the server is is as follows:

<?xml version="1.0" encoding="iso-8859-1"?> 1 01/23/2013 14:41:43 inhouse 192.168.1.10 root 1463 1463 1 9 simple1 html5

We are also getting the following error when we load the page:

Error: TypeError: docObj.nodeName is undefined
/dhtmlx.3.5/dhtmlx.js
Line: 131

But have no idea what that means. We have followed the instructions at:

docs.dhtmlx.com/doku.php?id=dhtm … ep_by_step

Also on the grid troubleshooting page there is a reference to using the debug version of dhtmlxcommon.js, but it does not say where to find it. Can you please let me know where I can find the debug version?

Any help with this issue is greatly appreciated.

Thanks,

Daryl

setHeader() method is a mandatory for creating a new grid.
Please, try to define your header.