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 )