Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Oct 30, 2008 03:35
open dhtmlx forum
Grid

Hi,
How to apply the class to filter
Answer posted by Support on Oct 30, 2008 03:55
You can locate filter element after grid initialization as
         grid.hdr.getElementsByTagName("SELECT")[0]
and assign any necessary css class for it. 

Or just customize dhtmlxgrid_filter.js , which contains HTML code
dhtmlXGridObject.prototype._in_header_select_filter=function(t,i){
      t.innerHTML="<select style='width:90%; font-size:8pt; font-family:Tahoma;'></select>";