Skip to main content
1-Visitor
March 19, 2020
Solved

Regarding tree selection

  • March 19, 2020
  • 1 reply
  • 1578 views

Hii,
Can anybody tell how to make tree selection?

Best answer by PaiChung

Easiest way is to look at Thingworx Networks

If you set up a Network and do GetNetworkConnections you'll see the structure you need.

Basics are 

Child (aka ID field) - Parent

rows

and the Child - Null will be top rows

1 reply

22-Sapphire I
March 19, 2020

This is tracked in the Data Source /Selected Row(s)

So you can drag either Selected Row(s) or a sub item (specific value field) to your target and it will be the value of your selection on your widget (true for any widget with an infotable data source, tree, grid, combo box)

DMu31-VisitorAuthor
1-Visitor
March 20, 2020

Hii,
What my requirement is, in left side, i have to create tree model.. Whenever we click each node in tree, the respective file should be load in right side? I don't know how to create a tree model.. Can you help me to do that?

 

Thank you in advance,

PaiChung22-Sapphire IAnswer
22-Sapphire I
March 20, 2020

Easiest way is to look at Thingworx Networks

If you set up a Network and do GetNetworkConnections you'll see the structure you need.

Basics are 

Child (aka ID field) - Parent

rows

and the Child - Null will be top rows