Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by husal on Oct 21, 2008 05:35
open dhtmlx forum
dhtmlXgrid apply filter issuegr

hi,

in my application i need to apply search in grid, inorder to apply filter to grid..i got the following example
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/header_footer/grid_complexheader_content.html

when i try to implement, i am not sure what the mistake i am doing, its not working for me. If any body try this example and whould like to share the sample search application in grid, its will help me a lot.

regards
husal
Answer posted by Support on Oct 21, 2008 07:42

Do you mean, that sample at mentioned link, or the same code not work when you create same sample locally?

In second case , please be sure that 
- codebase/ext/dhtmlxgrid_filter.js included in page
- the #text_filter or #select_filter has not unnecessary whitespaces around

The full code of sample included in grid's package and can be used for reference. 

Technically , if you need to apply filter only once, you can use filterBy API instead of built-in filters. 
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Data_filtering_search.html#grid_fsing