ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: jprocess on February 11, 2014, 12:36:43 am

Title: Filtering demo
Post by: jprocess on February 11, 2014, 12:36:43 am
Hi -

I have recreated the filter example located here: http://paramquery.com/demos/filter

I cannot get my example to filter. I am using the same json data and I have simply copied and pasted the code from the example. I do get the highlighting of the searched values but it seems refreshAndViewData is not working.

Current version with the same json data here: http://project.touch-point.net/index-filter-test2.htm

Files attached

Any help would be appreciated.

Thanks!
Title: Re: Filtering demo
Post by: paramvir on February 11, 2014, 10:11:58 am
If you have noticed, the data is being filtered remotely in that demo.

filterBy and filterValue are being posted to the server and data is being filtered using sql queries ( where filterBy = filterValue). you may also use LINQ or ORM.

You may have a look at this demo to get idea for server side implementation under ASP.NET and PHP tabs.
http://paramquery.com/pro/demos/filter
Title: Re: Filtering demo
Post by: jprocess on February 11, 2014, 06:40:43 pm
Thank you. That makes much more sense now.

So, there are no built in methods to allow for filtering using JSON data? Locally with no database?

And the example you pointed me to, is that Pro version only?

Thanks again
Title: Re: Filtering demo
Post by: paramvir on February 12, 2014, 08:10:26 am
The base free version doesn't have local filtering though there is a demo for local search

http://paramquery.com/demos/search

PRO supports local filtering.

http://paramquery.com/pro/demos/filter_local
http://paramquery.com/pro/demos/filter_header_local