Hi Support,
Could you please help me with this issue? I already have a server that does the pagination and it works for other projects with jqgrid (4.3), but with jqgrid 4.6.0 it is not working.
Please take a look in the code below:Â
Obs.: In runtime I change the url and datatype to json and the request is always :
=10&_search=false&nd=1403643699440&rows=10&page=1&sidx=&sord=asc&totalrows=10
pagina=1 and page never change even if I change the text box with the page number. I know I did some mistake, but I just can't find.
|
1 2 3 4 5 6 7 |
$("#search-results").jqGrid().setGridParam(<br /> {<br /> datatype:'json',<br /> url : '${pesquisarSolicitacao}',<br /> pagina : function() { return $('#search-results').getGridParam('page'); },<br /> }<br /> ).trigger("reloadGrid"); |
">
">
">
">
">
" type="text/javascript">
" type="text/javascript">
" type="text/javascript">
" type="text/javascript">
" type="text/javascript">
" type="text/javascript">
" type="text/javascript">
" type="text/javascript">
Â
this is the response from server:
|
1 |
{"pageNumber":1,"pagesAvailable":2,"totalItens":11,"pageItems":[{"... 10 itens"}]} |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top