ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: lgauton on February 27, 2015, 09:50:27 pm

Title: Filters
Post by: lgauton on February 27, 2015, 09:50:27 pm
Hi

I'm adding filters to an existing grid, just taken straight from example demo. for local filters. I get the items identified with matching text displayed in yellow but the grid results don't filter down to only show the results that match - I'm still left with complete list. Any ideas?
Title: Re: Filters
Post by: paramvir on February 27, 2015, 10:16:59 pm
Have you added filterhandler and filterModel.
Title: Re: Filters
Post by: lgauton on March 02, 2015, 03:01:16 pm
Hi

Yes - both Filterhandler and filtermodel - taken straight from the example
Title: Re: Filters
Post by: paramvir on March 02, 2015, 05:19:29 pm
If dataModel.location = 'remote' and you want local filtering, then you need to add type: local to filterModel.

http://paramquery.com/pro/api#option-filterModel

Please share a jsfiddle if still facing issues.
Title: Re: Filters
Post by: lgauton on March 02, 2015, 08:04:57 pm
Thanks that cured the issue - I should have looked more closely