Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ihor H on Mar 25, 2009 09:06
open dhtmlx forum
Grid sorting marker applies to filter box as well

Hi,

I set column sorting using mygrid.setColSorting.
When I apply filters to the Grid using "attachHeader" sorting markers apper to filter box as well if I click on the filter's cell.

How to disable/remove sorting markers from filter's cell?
Answer posted by dhxSupport on Mar 25, 2009 09:29

Add following rows to the grid init:

mygrid.hdr.rows[INDEX].onclick=function(e){ (e||event).cancelBubble=true; }

where INDEX - index of a header's row.