Categories | Question details Back To List | ||||||||
enableSmartRendering problem -- ind2 has no properties Hi, You guys has great product. I am implementing this solution to a web application. I got nothing but the header when I try to enableSmartRendering(true). I got a ind2 has no properties error. I am using the standard version of dhtmlxgrid v.1.5 build 80319. Here is my loading page. <div id="gridbox" width="100%" height="400px" style="background-color:white;overflow:hidden"></div> <script> mygrid = new dhtmlXGridObject('gridbox'); mygrid.setImagePath("codebase/imgs/"); mygrid.setSkin("light"); mygrid.setColTypes("link,ro,ro,ro"); mygrid.setColSorting("int,str,str,,"); mygrid.attachHeader("#rspan,#select_filter,#text_filter,#rspan"); mygrid.enableTooltips("false,false,false,false"); mygrid.enableSmartRendering("true"); mygrid.init(); mygrid.loadXML("party.xml"); </script> Here is portion of my xml file: <?xml version="1.0" encoding="UTF-8"?> <rows> <head> <column width="10" type="ro" align="left" sort="int">Id</column> <column width="20" type="ro" align="left" sort="str">Party Tpye</column> <column width="20" type="ro" align="left" sort="str">Company Name</column> <column width="49.5" type="ro" align="left" sort="str">Address</column> <settings> <colwidth>%</colwidth> </settings> </head> <row id="0"><cell>139</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="1"><cell>140</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="2"><cell>150</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="3"><cell>160</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="4"><cell>170</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="5"><cell>180</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="6"><cell>190</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="7"><cell>200</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="8"><cell>202</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="9"><cell>300</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> <row id="10"><cell>325</cell><cell>LESSOR</cell><cell>Test company</cell><cell>1232 Sheppard Suite 190, Markham, LE4 5T63</cell></row> </rows> Answer posted by Support on Apr 18, 2008 02:49 Static smart rendering fully supported only in pro edition of dhtmlxgrid, the standard edition allows to use only dynamic smart rendering. Please use attached js file instead of original one - it will resolve your issue Attachments (1)
|