Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - netedge

Pages: [1]
1
Help for ParamQuery Pro / Re: paging through javascript
« on: March 24, 2016, 09:53:40 pm »
Thank You, that worked. 

2
Help for ParamQuery Pro / paging through javascript
« on: March 24, 2016, 09:39:31 pm »
I have a grid that uses remote paging and remote sorting.  I'm trying to give the users the ability to jump to a specific page based on some text they enter in a search box.  I've tried all of the following 'methods' but none of them will actually change the page viewed by the user.  I need to get this functionality in place soon as we're due to start UAT on 3/28, I've already spent over a day trying to get this to work.  Any help at all is appreciated. 

Attempted methods:
$("#grid_editing").pqGrid("option", "pageModel.curPage", pageNumber);
$("#grid_editing").pqGrid("option", "dataModel.curPage", pageNumber);
$("#grid_editing").pqGrid("option", "currentPage", pageNumber);

I even tried these (even though they are not supported as far as I can tell - I was just desparate)
$("#grid_editing").pqGrid("option", "pageModel.currentPage", pageNumber);
$("#grid_editing").pqGrid("option", "dataModel.currentPage", pageNumber);
$("#grid_editing").pqGrid("option", "curPage", pageNumber);

All of these were attempted with and without a call to:
$("#grid_editing").pqGrid("refreshDataAndView");

Pages: [1]