Take a look at this image. The columns properly sort when clicking on them, but I do not want sorting to occur when they click the info icon. How would I accomplish this?
[code]dhxGrid.setHeader(“,ID,Code,Name,R,SC,P,PM”);
dhxGrid.setColSorting(“na,int,str,str,int,int,int,int”);
dhxGrid.attachHeader(“,#text_filter,#text_filter,#text_filter,<a href="javascript:n1();"><img src="images/dhtmlx/page_info.gif" />,<a href="javascript:n2();"><img src="images/dhtmlx/page_info.gif" />,<a href="javascript:n3();"><img src="images/dhtmlx/page_info.gif" />,<a href="javascript:n4();"><img src="images/dhtmlx/page_info.gif" />”);
dhxGrid.setColAlign(“center,left,left,left,right,right,right,right”);
dhxGrid.setInitWidths(“60,60,100,*,40,40,40,40”);
dhxGrid.setColTypes(“ch,ro,ro,ro,ro,ro,ro,ro”);
dhxGrid.setColumnHidden(1,true);
dhxGrid.init();[/code]
I’ve tried using the “onBeforeSorting” event but there is nothing to differentiate the top bar from the bottom bar.
Thank you!