function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raj R.Raj R. 

How do I add next and previous buttons to a visualforce page to look through records 10 at a time?

Hi everyone,
So i have to display 70,000+ Account records in a VisualForce page, but governor limits do not allow more than 50,000 records per query. As a result, I am choosing to display 10 records sorted by alphabet order and allowing users to press the next and previous button to get either the next 10 Account records or previous 10 Account records.

How would I implement this?
Best Answer chosen by Raj R.
OyeCodeOyeCode
You can use Jquery or Angular JS look at my implementation here 

http://www.oyecode.com/2013/06/getting-started-with-angularjs-on.html

or else you can see this post here 

http://blogforce9.blogspot.in/2013/11/pageblocktableenhanceradv-yet-another.html