Search box
You can set search box in grid's hearder for each column.
Type requested information in input field and the row with a suggestion will be highlighted.
You can set search box in grid's hearder for each column.
Type requested information in input field and the row with a suggestion will be highlighted.
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxgrid.css"> <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxgrid_dhx_skyblue.css"> <script src="../../codebase/dhtmlxcommon.js"></script> <script src="../../codebase/dhtmlxgrid.js"></script> <script src="../../codebase/ext/dhtmlxgrid_srnd.js"></script> <script src="../../codebase/ext/dhtmlxgrid_filter.js"></script> <script src="../../codebase/dhtmlxgridcell.js"></script> <div id="gridbox" style="width:600px; height:250px; background-color:white;"></div> <script></script>mygrid = new dhtmlXGridObject('gridbox'); mygrid.setImagePath("../../codebase/imgs/"); mygrid.setHeader("Sales,Book Title,Author,Price,In Store,Shipping"); mygrid.attachHeader(" ,#text_search,#select_filter, ,#cspan,#cspan"); mygrid.setInitWidths("50,150,120,80,80,80,80,200"); mygrid.enableAutoWidth(true); mygrid.setColAlign("right,left,left,right,center,left"); mygrid.setColTypes("dyn,ed,ed,price,ch,co"); mygrid.getCombo(5).put(2, 2); mygrid.setColSorting("int,str,str,int,str,str"); mygrid.setSkin("dhx_skyblue"); mygrid.init(); mygrid.enableSmartRendering(true); mygrid.loadXML("../common/500.xml");