LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get all childrens of a parent in tree ( not all childrens of tree)

Solved!
Go to solution

Hi,
Ho i can to get all children of a parent in tree et not all childrens of tree :
like this =>
kilom.png
not get all children of tree lik this :
2.png
Thank you ,

0 Kudos
Message 1 of 3
(3,983 Views)
Solution
Accepted by topic author Sarah_LAB
0 Kudos
Message 2 of 3
(3,974 Views)
Solution
Accepted by topic author Sarah_LAB

There is no pre-written method/property available. You have to implement something like this on yourself.

What are you currently using to get all items (All Tags property)?

 

I see two options:

1. You use the All Tags and move through every item and verify it has a parent. Parent items (at least top most) are removed by your code for the selection

2. You implement a data structure which reflects the tree (OOP based?). You implement the navigation/selection/interaction for the data structure. The tree indicator is only used for displaying the data

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 3
(3,973 Views)