You need to sign in to do that
Don't have an account?
Dutta Sourav
Pagination and SetPageSize through <apex:repeat>
How can we implement setpageSize through <apex:repeat>
Data are displaying through Repeat. I want to display 10 at a time
and want to add "Previous" & "Next" Button in VF Page.
Caan anyone help??
If you are using recordsetvar in page and try to achieve pagination try with below link .
https://hisrinu.wordpress.com/2012/01/09/pagination-using-standardsetcontroller/
If you are not using recordSetVar attribute in page then check below link .
https://www.sundoginteractive.com/sunblog/posts/server-side-pagination-in-apex-visualforce-for-custom-classes
Let me know if it helps .
Thanks
Manoj
All Answers
use the custom controler class and create "previous" and "next" methods . write the logic for it
If you are using recordsetvar in page and try to achieve pagination try with below link .
https://hisrinu.wordpress.com/2012/01/09/pagination-using-standardsetcontroller/
If you are not using recordSetVar attribute in page then check below link .
https://www.sundoginteractive.com/sunblog/posts/server-side-pagination-in-apex-visualforce-for-custom-classes
Let me know if it helps .
Thanks
Manoj