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

Pagination using visual force and apex

Hi All,
I have one requirement in that i am displaying all the accounts (nearly 100) in visual force page.
I need to customize the results on the page  so that i can specify the number of records to be shown per page.
(I will have one textbox. In that i can specify the number of rows to be shown and have a GO button to execute.)
How can i do this?
Kindly share your knowledge.

This url will helps you to start working on paging.


Hi srini,

Thank you very much.

I can get the details but prev and next navigation is not working.

Kindly share the visual force page also. It would be very useful for me.

Thanks one again.