Smart Rendering Not Working

I am trying to setup a datagrid with smart rendering. I’m using the dhtmlx FULL code base and including the following:

My grid setup looks like this:
var objHomeGrid = mainBody.attachGrid();
objHomeGrid.preventIECaching(true);
objHomeGrid.enableMultiselect(true);
objHomeGrid.setIconsPath(‘codebase/imgs/’);
objHomeGrid.init();
objHomeGrid.attachEvent(“onRowDblClicked”, function(rId,cInd){openInput(rId);});
objHomeGrid.attachEvent(“onXLS”, function() {});
objHomeGrid.attachEvent(“onXLE”, function() {});
objHomeGrid.enableSmartRendering(true,100);
objHomeGrid.loadXML(“templates/output/”+gTable+".asp");

MY XML returned looks like this for instance:


Product
Customer
Product Number
Prod
Pack
Form
Account Manager
Status
Packaging BOM
Formula BOM
Finished
Product
Specs.
px


My Corp Name Here Corporation
My Corp Name Here Corporation
605138

My Name Here
In-Process





My Corp Name Here Corporation
My Corp Name Here Corporation
605356

My Name Here
In-Process





My Corp Name Here Corporation
My Corp Name Here Corporation
Pending

My Name Here
In-Process




<total_count>7686</total_count>
1

What am I doing wrong?

Thaks
Justin

Unfortunately the issue cannot be reconstructed.

Try to remove

objHomeGrid.init();

Also note that if you want to use special characters (such as “<” or “>”) in the xml you should use CDATA or escaping:

<column width="70" type="ro" align="left" sort="str"><![CDATA[Prod<br>Pack<br>Form]]></column>

Here is the tutorial:
docs.dhtmlx.com/doku.php?id=othe … ers_in_xml

And W3C standard. :sunglasses:

<column (...)<br/>(...)<br/>(...)</column>