cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Using Tree Grid with Grid Widget - Same Childs for every Parent Row

TN_10287488
7-Bedrock

Using Tree Grid with Grid Widget - Same Childs for every Parent Row

Hello.

I'm trying to use the Tree Grid, within the Grid Widget.

I have created two Infotables. One with Parent Data and another for Child Data.

Parent Data Output:

UID (Long)Name (String)hasChildren (Boolean)
1Parent 1true
2Parent 2true
3Parent 3false

 

Child Data Output:

UID (Long)Name (String)ParentUID (Long)
4Parent 1 - Child 11
5Parent 1 - Child 21
6Parent 2 - Child 12

 

Bindings:

Data: -> Parent Data Table

ChildData: -> Child Data Table

IDFieldName: UID

ParentIDFieldName: ParentUID
HasChildrenFieldName: hasChildren

Result:
With the following approach mentioned above, I have 3 rows as output.

Row 1 and 2 can be expanded to show the children, but not row 3 as expected.

 

However, if I expand row 1, I have all 3 Child Data Rows in there.

If I expand row 2, I also have all 3 Child Data Rows in there.

 

I don't know what to change anymore.
Can someone help?

Best Regards.

 

ACCEPTED SOLUTION

Accepted Solutions

This was solved by using one Infotable with Parent and Child information.

View solution in original post

1 REPLY 1

This was solved by using one Infotable with Parent and Child information.

Announcements


Top Tags