You need to sign in to do that
Don't have an account?
Roopa S 1
hiii i need to display accountt and related contacts using visual force page
hii i need to display accountt and related contacts using visual force page
1. i need to display accountt and related contacts using visual force page
2. related contact of that particular account should display in pop up.
3. i need to display only 10 records in each page.
4. i should display "PREVIOUS" and "NEXT" buttons to display remaining records
1. i need to display accountt and related contacts using visual force page
2. related contact of that particular account should display in pop up.
3. i need to display only 10 records in each page.
4. i should display "PREVIOUS" and "NEXT" buttons to display remaining records
HI Roopa,
As per the above description, you need to use the Pagination concept.
And refer the code in the below articles to create VF for displaying accounts and its related contacts and modify it as per your requirement :-
http://salesforcecodes.com/display-related-contacts-of-an-account-using-visualforce-page/
https://developer.salesforce.com/forums/?id=906F0000000D8bPIAS
https://salesforce.stackexchange.com/questions/79300/visualforce-page-with-search-on-account-name-and-display-with-child-records-as-a
Pageination :- https://redpointcrm.com/add-pagination-to-your-visualforce-pages-using-the-soql-offset-clause/
If the above information helps you, kindly mark it as the best answer.
Regards,
Priya Ranjan