Skip to main content
1-Visitor
Dec 17, 2020 9:18 AM UTC
Solved

Any middle Tree widget node to be selected on load instead of root node

Hi Team,

 

Suppose I have a tree widget with network structure has been binded over it.

 

Autoselectfirstrow property of tree widget will provide first node to be as selected on load of mashup.

 

But what I want is node of tree to be selected on load of mashup lies anywhere in middle instead of root node.

 

Could anybody help me with the logic pls.

 

My Thingworx version is 8.3

 

Thanks in advance. 

AshrithaAnswer
15-Moonstone
Dec 17, 2020 10:54 AM UTC

Use Tree grid Advanced. It has the selected rows as bindable input field. 

4 replies

Ashritha15-MoonstoneAnswer
15-Moonstone
Dec 17, 2020 10:54 AM UTC

Use Tree grid Advanced. It has the selected rows as bindable input field. 

Translate
5-Regular Member
Dec 17, 2020 11:39 AM UTC

@ranjank , Try writing a service  which returns me you child of first node(2nd level) and bind that data to selected label and value.

 

aaaCapture.PNG

Translate
Support
Jan 4, 2021 4:15 PM UTC

Hi @ranjank.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

Translate
Support
Jan 11, 2021 4:57 PM UTC

Hi @ranjank.

 

I have marked the solution for this post. If you disagree with my choice, please let me know.

 

Regards.

 

--Sharon 

Translate