Hello,
I am trying to sort my grid using setColSorting, but it doesn’t seem to work.
this is my code:
mygrid = new dhtmlXGridObject(“mygrid_div”);
mygrid.setImagePath(“imgs”);
mygrid.setHeader(“Count,Name,Phone,Registeration Id,Email,Day,Time”);
mygrid.setColTypes(“ro,ro,ro,ro,ro,ro,ro”);
mygrid.setInitWidths(“100,200,100,*,200,100,100”);
mygrid.setColAlign(“left,left,left,left,left,left,left”);
mygrid.setColSorting(“int,str,int,str,str,int,int”);
mygrid.setSkin(“light”);
mygrid.init();
mygrid.loadXMLString(<%=str%>);
Unfortunately we cannot reproduce this issue locally. Please check example here dhtmlx.com/docs/products/dht … _grid.html