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??


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