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

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

 Akzeptierte Antwort

ma sd
ma sd am 21 Jun. 2020

0 Stimmen

parent=app.uitree.selectednode.Parent

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

am 4 Jun. 2020

Beantwortet:

am 21 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by