Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by gwanok on Jun 24, 2008 06:08
open dhtmlx forum
Filter in Grid

Filter in Grid : each new character typed by the user would narrow the list. For example, "C" will display all items including this letter but typing "H" afterwards will instantly update the list to include only the items including "CH" and so on...

How can do it?

Answer posted by Support on Jun 24, 2008 08:29
The described usecase is the same as produced by built-in #text_filter
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/filtering/pro_filter_srnd.html
Such filter can be created by simple specifying #text_filter as column label ( dhtmlxgrid_filter.js need to be included )
    mygrid.attachHeader(" ,#text_filter,#select_filter, ,#cspan,#cspan,#cspan,#cspan");