My question relates to getting a JQGrid grid of rows to refresh properly if I change the dropdown for 'number of rows per page' in the pager.
I inherited a project which was orinally using JQGrid 4.2.0, at which time all was working well. We recently updated it to 4.5.4 and then discovered this odd quirk, that if have 'rows per page' set to 20 and there are 15 rows, then I change the drop-down to '10 rows per page', the grid shrinks to show only 10 but the pager still says 'page 1 of 1'. If I click refresh it shows '1 of 2' correctly. Then if I change the pager back to '20 rows per page' it only shows 10 rows and shows 'page 1 of 1' until I click 'refresh' again.
I attempted a resolution based on hooking into the 'change' event of the control (which didn't work) but I'm sure there's a better way.
Any suggestions gratefully received.
Oliver
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top