Justinmind-logo
 

Creating dynamic tree

Sumit Sureka shared this question 5 months ago
Need Answer

Is it possible to create a dynamic tree? For Example if i would like to create a hierarchy tree in the company.

So, the data master table has the following rows:

Employee Role, Supervisor, Team Members, etc...

CEO, NA, (CTO, CFO)

CTO, CEO, (Product Mgr,Technical Audit Mgr),

Product Mgr, CTO, (Technical Mgr)

.....

and then display as follows when a user clicks each + area

+ CEO - If + is clicked then:

- CEO

|__ +CTO

|__ +CFO


If + is clicked for CTO, then:

- CEO

|__ - CTO

|__ + Product Mgr

|__ +Audit Mgr

|__ + CFO


So, if a new row is added then i should be able to add it in the tree dynamically


Please do let me know if this can be possible?

Leave a Comment
 
Attach a file