Categories | Question details Back To List | ||
toggle between filters and searches hi we want to give users the ability to click a button and switch the column search boxes from filters to searches. for example if filters is selected then when they enter their criteria the grid filters out any items that do not match... and if they have search selected then when they enter their criteria it searches for the closest match can you suggest the best way to do this please thanks Answer posted by dhxSupport on Mar 23, 2009 03:04 You can inserct input into the header and depending on some condition you can implement filterBy or findCell method. Please see more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Data_filtering_search.html#grid_fsing http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Headers_and_footers.html#grid_art_hdrftr http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_content_in_header.htm#grid_ccingrid |