Hi!
I've got a great problem:
I'm using jqgrid with the scroll=1 option, to load json data from a database by scrolling the grid (url-parameter is set).
“RowNum” is set to 50 and “height” is 700.
If i scroll the grid to bottom and back to top, this works perfectly without problems.
Now I change the gridheight to 550 because I display a hidden div with searchfields.
By sending the searchquery, the database generates a new response and the function trigger(“reloadGrid”,[{page:1}]) is called to display the results of the search.
By clearing the searchfields, the div is set backto display “none”, the gridheight is set back to 700 and again the realoadGrid-trigger is called to display the unfiltered grid-data.
After this change of gridheight jqgrid sends multiple requests like:
server.query.php?session=19c9542ef9464fa4f5fad80f8513dcce&_search=false&nd=1268227202767&rows=50&page=2&sidx=&sord=asc
server.query.php?session=19c9542ef9464fa4f5fad80f8513dcce&_search=false&nd=1268227203532&rows=50&page=2&sidx=&sord=asc
etc., all with the same results and appending it to the grid.
So after all I've got a grid with hundreds of results that are duplicates of the original data and the result counter in the footer / pager gets negative.
If the grid-height isn't changed to 550 and back, the grid works correctly without sending multiple requests to server.
Hope you've got an answer or fix this bug soon.
Best regards,
Patrick
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top