Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Shubha on Sep 25, 2008 19:21
open dhtmlx forum
dhtmlx grid

Hi,

Column sorting in dhtmlx grid is not working properly. And also I am using a master checkbox in my dhtmlx grid. That is also not working.
Please help me to solve this issue.

Code
------
mytGrid.setHeader("#master_checkbox,Emp Name,Designation");
mytGrid.setInitWidthsP("3,10,10");
mytGrid.enableAutoHeight(true,150);
mytGrid.enableAutoWidth(true,1000);
mytGrid.setColAlign("left,left,left");
mytGrid.enableTooltips("false,true,true");
mytGrid.setColSorting("na,str,str");
mytGrid.setColTypes("ch,ro,ro");

Thanks
Answer posted by Support on Sep 29, 2008 16:37
>>And also I am using a master checkbox 
Be sure to include dhtmlxgrid_filter.js in your html page, it activates support of all # starting shortcuts

>>Column sorting in dhtmlx grid is not working properly
According to your code, grid will have first column as not sortable, for second and third columns data will be sorted as strings ( by default case sensitive )
Please mention which problem occurs while sorting ?