Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John-Olav Hoddevik on Jun 05, 2009 04:18
open dhtmlx forum
attachHeader

I've been trying to add search to the header using attachHeader, but I cant get it to work.
I've tried to do it like this:
mygrid = new dhtmlXGridObject('gridbox');
mygrid.imgURL = "js/dhtmlxGrid/sources/imgs/";
mygrid.setHeader("Navn,Epost,Mobil,Status,Registrert");
mygrid.attachHeader("#text_filter,#select_filter,#text_search,,#cspan");

#cspan is the only thing that works. #text_filter, #select_filter and #text_search is displayed as text in the header??
Answer posted by Support on Jun 05, 2009 04:45

Please be sure that next js file was included in page
               ext/dhtmlxgrid_filter.js