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
Dhaval PanchalDhaval Panchal 

Need help to create Exandable/collapsable list

Hi,

 

I want to display list like below.

 

 

------------------------------------------------------------------

 - | Parent 1

------------------------------------------------------------------

    | X | child 1

------------------------------------------------------------------

    | X | child 2

------------------------------------------------------------------

    | X | child 3

------------------------------------------------------------------

 + | Parent 2

------------------------------------------------------------------

 + | Parent 3

------------------------------------------------------------------

 

There is "+" before parent records, if we click on "+", it should be expand its childs.

If it is possible that child records can be display using pageblock table then it is very good.

 

Anyone have idea how to develop this in vf page?