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
JirehJireh 

Implementing a tree structure in Visualforce page

how can i implement the dynamic tree structure in visualforce page... can anyone pls help me out with some examples???i am struggling....

 

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Abhay AroraAbhay Arora

Hi,

 

You can use some wrapper class for this also if you need it in ui you can create lists and then have some UI framework like

 

Ext-js with jquery parser of apex to get it done. Please let me know if you need more help

All Answers

Abhay AroraAbhay Arora

Hi,

 

You can use some wrapper class for this also if you need it in ui you can create lists and then have some UI framework like

 

Ext-js with jquery parser of apex to get it done. Please let me know if you need more help

This was selected as the best answer
JirehJireh

Thanks for your reply. I have tried implementing and i am able to get the tree structure in the vf page:) using the dummy list but i am struggling with the logic to create a heirarchy i.e. the original heirarchy. The heirarchy need to be like this...

 

 

- item 1

   -  item 1.1

         item 1.1.1

   +  item 1.2

    

Can anyone share your idea on this??