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
Cheerag VijayaCheerag Vijaya 

Dynamic SOQL with Pagination using Standard Set Controller

Hi, I need to wite an Apex Class, in which I have to show the Accounts by entering their fields : Name or Phone or or Website or Combinaton. In each Page we need to display 5 records using standard set controller.
Jayamaruthyraman JaganathJayamaruthyraman Jaganath
You need to write a custom list controller. here is the link to the documentation.

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_custom_list_controller.htm

Let me know if you need more help.