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
ashokkumar.rrashokkumar.rr 

Pagination implementation

Hi

 

   I implemnted pagination accordingt to below url

    http://forceguru.blogspot.com/2011/04/pagination-in-salesforce.html

 

   http://blog.jeffdouglas.com/2009/07/14/visualforce-page-with-pagination/

 

One thing I noticed is the checkboxes don’t maintain state if you check one, go to the next page, then go back. I think it’s due to line 20 in your controller, as it recreates the List of wrapper objects with each page.

 

  Can One has solu to fix this issue...

 

Thanks

ashok

Best Answer chosen by Admin (Salesforce Developers) 
Laxman RaoLaxman Rao

If you people are still looking for a solution.

 

It will be helpful :

http://salesforcehelpinghands.blogspot.in/

All Answers

Ankit AroraAnkit Arora

You need to implement your own logic in next() and previous() method, which will save the selected record in wrapper class.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

ashokkumar.rrashokkumar.rr

Can u please provide code  to implemnent it..... I tryed to implemet the by storing the checked element   in second list and use it this is not working when new search  is made .....

Sfdc_testSfdc_test

Hi ,

 

I am facing same issue . Did you get any solution ?

 

Regards,

 

Neha

Laxman RaoLaxman Rao

If you people are still looking for a solution.

 

It will be helpful :

http://salesforcehelpinghands.blogspot.in/

This was selected as the best answer
Afzal MohammadAfzal Mohammad
@laxman you rock! I really liked your blog post on pagination. Very well done.