Skip to main content
1-Visitor
January 28, 2019
Question

Tree Grid Advanced not displaying child rows

  • January 28, 2019
  • 1 reply
  • 2066 views

Hi,

 

I'm trying to use the Tree Grid Advanced Widget version 4.1.1 in my mashup.

 

I have my data service that returns the first level of the tree.

When expending a top-level row, the behaviour is weird:

  -- The expansion triangle changes (this is expected)

  -- The top Level Row is replaced by a child row (very weird!).

  -- Only one child row is displayed (not expected)

 

I logged details when the GetChildData service is called and it does return the expected rows (e.g. 50)

 

I'm trying to match what I'm doing with the sample shipped with the widget without success 😞toplevel.pngChildLevel.png

 

Can someone help me figure out what I'm missing or doing incorrectly?

 

Thank you,

 

Eric Lamontagne

Averna Technology

1 reply

22-Sapphire I
January 30, 2019

What does the raw data look like?

sometimes these widgets need the data in the right order

Parent 1

  Parent 1 - Child 1

  Parent 1 - Child 2

Parent 2

  Parent 2 - Child 1

Xyaran1-VisitorAuthor
1-Visitor
January 30, 2019

Thank you PaiChung,

 

Not sure I understand your question, but here is my interpretation of it 🙂

 

I load only the parent first and when the ChildData is requested, then I load them.

 

I have 2 levels, Parents and Children, no grand-children.

I used Fiddler to capture the ReST API calls, is that want you mean by raw data?

 

Eric

22-Sapphire I
January 30, 2019

I probably am not envisioning this correctly

You are saying you show parents first - in what widget?

then you pull child data into what widget?

What does the data look like (infotable)