Using dhtmlXGridFromTable


Hi:



I’m using the dhtmlXGridFromTable object and making the following call to turn off sorting:



var grid = new dhtmlXGridFromTable(‘tblToGrid’);
grid.enableStableSorting(false);



This does not seem to be working.  Any ideas?  It works with dhtmlXGridObject.



Thanks for any assistance!



Steve



 

The dhtmlXGridFromTable is not a contructor function, the correct syntax are

var grid = dhtmlXGridFromTable(‘tblToGrid’);
grid.enableStableSorting(false);

If problem still occurs for you - please provide any snippet of HTML code used for grid initialization where it can be reconstructed