enableSmartRendering + enableSmartRenderingSorting


Hi,



Is it possible to use something similar the following code to enable to sort columns for a smart rendered grid?



   gridTest = new dhtmlXGridObject(‘gridTest’);
   gridTest.enableSmartRendering(true);  
   gridTest.enableSmartRenderingSorting(true,true,true,true,true,true,true);
   gridTest.loadXML(‘data.xml’);



The sorting results don’t seem to work for me, but I am new to the component.



Thanks,



Ben

   gridTest.enableSmartRenderingSorting(true); << you need not provide values for each column
   gridTest.loadXML(‘data.xml’);

By your init code, it seems that you init configuration from XML. In such case the column tag must have correct sort attribute

<column sort=“str”         <<sort as string …
<column sort=“na”         <<sort not available


The initial release of grid has some problem with sorting in case of smart-rendering, so if problem still occurs for you - please re-download updated package from dhmlx.com  ( or just contact us directly at support@dhtmlx.com - we will send you latest version of file )