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’);

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 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
Line: 131

But have no idea what that means. We have followed the instructions at: … 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.



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