ezraroi / ngJsTree

Angular Directive for the famous JS Tree
http://ezraroi.github.io/ngJsTree/
MIT License
270 stars 101 forks source link

Editable table tree node #98

Open psivas opened 7 years ago

psivas commented 7 years ago

I am trying to create a hierarchical tree in one of our applications and I need the final node to be an editable table. I created the entire table with editable cells as a string and pass it as node text and the table is getting rendered. But when I click on an editable cell - calendar for example, instead of that cell the entire node hierarchy gets selected or deselected. I think this is because tree takes the table as a node label. How can I make the final node as non-selectable and make the table editable.

At the same time I may need the parent nodes selected all the way to the root, I guess that I can achieve by an event handler for the table components.

ezraroi commented 7 years ago

hi, I think you should ask this in ts tree repo, as this is just a wrapper for angular