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
hchhch 

Expand/Collapse pageblock Table

I want to display list of accounts in a page block table with the expand/ collapse capabilities. I refereed to the following site:

http://www.forcetree.com/2010/04/expand-collapse-pageblock-table-columns.html

 

In the above blog they have used the nested page block tables. But I want to display the single pageblock table with one column as '+' or '-' sign and another column as Account Name.When a user clicks on the + sign the list of accounts should be displayed with the Account Name as their header.

 

 

Thanks in advance!!

Andy BoettcherAndy Boettcher

That article you found is a good starting point.  The application in the article isn't 100% what you're looking for, but it lays out the foundation that you'll need to complete your requirement.

 

-Andy