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

 採用された回答

ma sd
ma sd 2020 年 6 月 21 日

0 投票

parent=app.uitree.selectednode.Parent

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

リリース

R2020a

質問済み:

2020 年 6 月 4 日

回答済み:

2020 年 6 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by