Display list of accounts in a block with checkbox, if the user selects the accounts and click on "Show Contacts " button the selected account related contacts should display in the pageBlocktable beside the accounts list block
Kindly let me know if this helps and please close the thread by marking a best answer so that it can be useful to others ans also it would help us in keeping the community clean.
I found the below disucussion where it shows a similar implementation which you can modify according to your business requirement.
https://developer.salesforce.com/forums/?id=906F0000000DBmuIAG
Kindly let me know if this helps and please close the thread by marking a best answer so that it can be useful to others ans also it would help us in keeping the community clean.
Regards,
Anutej