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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Tree Grid Advanced not displaying child rows

Xyaran
2-Explorer

Tree Grid Advanced not displaying child rows

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

3 REPLIES 3
PaiChung
22-Sapphire I
(To:Xyaran)

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

Xyaran
2-Explorer
(To:PaiChung)

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

PaiChung
22-Sapphire I
(To:Xyaran)

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)

 

Announcements


Top Tags