+ Start a Discussion

standard set controller

Hi All,

I am using standard set controller and displaying records using pagination

when i clicking on next,or pervious it is displaying the same records in all the pages.

can i know why its is happening.
I suspect that the Next and Previous buttons are not set based on whether the records exist or not and they are always refreshing the same set of records on button click. Follow the steps explained in the below blog post


Hope this helps. 

In case the above post did not help, please post your controller code and VF page code code so that we can try identifying the issue.
Ramakrishnan AyyanarRamakrishnan Ayyanar
Hi t.deepthi05,

I think ,you will set the setPageSize.