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
G!R!G!R! 

Reg: Visula force Scenario

Hi All,

I have a scneario, can any one suggest with good explanation please

 

Scenario:

In Visualforce Page, I am trying to retrive records from an object. Suppose if I have 2000 records in an object.

I need to scroll down to see all records. But I want them in pages like display in 2 pages or 3 pages instead of 1 page.

so that we dont need to scroll down instead we can press next page some thing like that.

Vinit_KumarVinit_Kumar

Hi Giri,

 

You need pagination in Visualforce page.Please find below link which informs how to implement it with sample code also :-

 

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

 

http://richardvanhook.wordpress.com/2009/08/03/visualforce-pagination-with-apex-lang/