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

3 次查看(过去 30 天)
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
parent=app.uitree.selectednode.Parent

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by