Skip to main content
1-Visitor
October 25, 2019
Solved

Example of a tree widget with an infotable

  • October 25, 2019
  • 1 reply
  • 2635 views

Hi guys,

 

I am trying to use a tree widget to display a nested list for options a user can select.  Can someone please provide a basic working example?

 

I tried to follow article,  this community post and the online video but no data is being displayed in the Tree Widget on my Mashup. Not sure what I am missing.

 

Thanks in advance.

Best answer by eliotlandrum

Ah, I found the issue.

 

You need to add two additional entries:

 

- Type: root, SubType: Conveyor

- Type: root, SubType: RC

 

And then on the Tree widget properties, type "root" into RootParentID.

 

This tells it what the root item is and that the Conveyor and RC are children of that root item.

 

screen-20191028-100819.png

 

1 reply

14-Alexandrite
October 25, 2019

Hi @AndreaSteyn !

 

If possible, could you provide some screenshots of what your InfoTable contents and your Tree definitions looks like?

 

Eliot

1-Visitor
October 28, 2019

Hi @eliotlandrum ,

 

I attached a screenshot of my infotable and my tree setup.  The Type is the parent and the subtype is the child I want to display.  Please let me know if I need to provide more information.

14-Alexandrite
October 28, 2019

Before I dig too deep, do you have something that triggers GetDataTableEntries? Maybe Mashup Loaded? You should be able to tell by clicking on GetDataTableEntries on the far right Data panel, then looking at the Connections pane. If there's no arrow into GetDataTableEntries, then it isn't being fired to query the data.