Calling node's parent node in a tree in app designer

11 views (last 30 days)
good day,
I have a tree with two parent nodes node a and node b
each node have it's own children
I am trying to be able to call the name of the parent node for any selected child node
also I would like to add a button that deletes all children nodes when I want to

Accepted Answer

ma sd
ma sd on 21 Jun 2020
parent=app.uitree.selectednode.Parent

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!