ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: orlando_acevedo on October 23, 2016, 11:02:01 am
-
Hello all,
I want to implement infinite scrolling in an ASP.net MVC website.
As far as I understand, the grid sends a request, including the filter and page number to the data provider.
Is there a template for that controller action (the data provider), or specifications on how to build it?
Thank you.
-
ASP.NET (MVC) controller code for that example has been added to the example under ASP.NET (MVC) tab.
Please note that DLinqFilterHelper is not tested for every filter condition.
-
Thank you for adding the MVC code. I was able to adapt it to my site, but I'm getting errors now. Both (DLinqFilterHelper and the controller code) use ParamQuery.Areas.pro.Models; and ParamQuery.Areas.pro.Helpers.
I'm assuming I don't need the Models, but there are 3 items that are not found, which I think are in the Helpers namespace:
- deSerializedFilter
- ColumnHelper
- SortHelper
Please post the code for those, including any extra code that would be needed, or let me know where I can find it.
Thank you again.
-
These helpers are defined in remote filtering and remote sorting demos in ASP.NET(MVC) tabs.
http://paramquery.com/pro/demos/filter_header
http://paramquery.com/pro/demos/sorting_remote