Categories | Question details Back To List | ||
dhtmlxgrid - filter or search in header not displaying Hello. We have evulation version of dhtmlxGrid professional, but I can't get search or filter working. I try to insert #numeric_filter and #text_search into header but i see `#text_search` instead of form. What am I doing wrong? PLS help me. :'( HTML <script src="/jscript/dhtmlx/dhtmlxGrid/codebase/dhtmlxcommon.js"></script> <script src="/jscript/dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.js"></script> <script src="/jscript/dhtmlx/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script> <link rel="stylesheet" type="text/css" href="/jscript/dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.css" /> <link rel="stylesheet" type="text/css" href="/jscript/dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd.js" /> <div id="gridbox" style="width: 500px;height: 500px;"></div> <script> mygrid = new dhtmlXGridObject('gridbox'); mygrid.setHeader("Model,Qty"); mygrid.setInitWidths("*,150"); mygrid.setColSorting("int,str"); mygrid.setColTypes("price,ed"); mygrid.attachHeader("#numeric_filter,#text_search"); mygrid.init(); mygrid.loadXML("/test.xml"); </script> XML: <?xml version="1.0" encoding="UTF-8"?> <rows> <row id="1"> <cell>1</cell> <cell>text1</cell> </row> <row id="2"> <cell>2</cell> <cell>text2</cell> </row> <row id="3"> <cell>3</cell> <cell>note3</cell> </row> </rows> Answer posted by dhxSupport on Mar 03, 2009 01:21 You have to include dhtmlx_filter.js file |