Click here to Skip to main content
15,886,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have 10 million records in a table which i am trying to show in jqgrid using virtual scroll out of which i am only showing 50 records at once so that it will not overload the server and browser. Now i should have 200000 pages if we take 50 records per page for 10 million records.

Now the issue is that, when i drag the scroll to the very end it is requesting for the page no 17895 which is not the expected. It should ideally request data for page no 200000.

Please anyone tell me if there is limitation with Jqgrid or do i need to make some setting changes. If this is Jqgrid limitation, tell me how to make it work for this scenario.
Please also tell me where in the jqgrid code it is deciding the height of the dummy div container.

Thanks in advance!

What I have tried:

1. I tried to find the code where it is deciding the container height to show the scrollable area but didn't able to find out where exactly it is doing that.

2. Tried to modify the page onpaging event but it is not calling the onpaging event for virtual scrolling case.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900