Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Create new tree entry when click on add


I've found the following code (JSBIN) which is more or less what we need in our project but my question is

1. how can I add the functionality that when user click on

Add and select the Parent(like Tree 1 )  it will add new line like config3 etc

2. For remove user should click on the specific entry in the tree that he wants to delete,How this functionality can be achieved in UI5 .

The tree have just parent and child (two levels only like in the example )

JS Bin - Collaborative JavaScript Debugging



Former Member
Former Member replied

Hi Miley

Actually I am the author of the original JSBin.

Having the user to select the node and then move the mouse to click on the button is not optimal.

JS Bin - Collaborative JavaScript Debugging


2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question