Open eHxBes opened 9 years ago
Hi,
Is there an easy way to get the parents of a selected node?
Tree:
Root ----- Parent2 -------- Child ------------------- innerChild -------- Child2 -------- Child3 ----- Parent3 ----- Parent4
Clicking on innerChild would return Child and Parent2 has parents. Like so : Parent2 > Child > innerChild
using scope.$parent maybe ?
Hi,
Is there an easy way to get the parents of a selected node?
Tree:
Root ----- Parent2 -------- Child ------------------- innerChild -------- Child2 -------- Child3 ----- Parent3 ----- Parent4
Clicking on innerChild would return Child and Parent2 has parents. Like so : Parent2 > Child > innerChild