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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

TreeGridAdvanced expand/collapse, multiple childs vs. parent

mvajla
12-Amethyst

TreeGridAdvanced expand/collapse, multiple childs vs. parent

Hi community users, 

 

Is somehow possible, in Tree Grid Advanced, use function for expand/collapse all rows of the infotable? 

I tryed to use property "ExpandLoadedRows" which is bindable - so I bound a Checkbox to this value, but it didn't work for me. It worked only when I set this property checked by default which shows me only expanded rows.

mvajla_0-1606474948022.png

 

How can I achieve correctly shown data in tree advanced grid, when in BOM I have two lines with the same ID (in another structures/parents)? Currently it shows me the child ID correctly in the position , but from wrong ParentID.

 

Thanks

 
ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:mvajla)

Hi @mvajla.

 

From the ThingWorx Help Center:

 

Automatically expands all preloaded data when the grid is launched.

 

Multiple levels of preloaded data must be available. When this property is set, it affects the way rows are highlighted when DefaultSelectedRows are defined. This property must be turned off to use the PreserveRowExpansion property.

 

Therefore, it appears you are attempting to use this setting outside of its intended purpose. 

 

You could do something with a session variable and refreshing the page.

 

Regards.

 

--Sharon

View solution in original post

2 REPLIES 2
slangley
23-Emerald II
(To:mvajla)

Hi @mvajla.

 

From the ThingWorx Help Center:

 

Automatically expands all preloaded data when the grid is launched.

 

Multiple levels of preloaded data must be available. When this property is set, it affects the way rows are highlighted when DefaultSelectedRows are defined. This property must be turned off to use the PreserveRowExpansion property.

 

Therefore, it appears you are attempting to use this setting outside of its intended purpose. 

 

You could do something with a session variable and refreshing the page.

 

Regards.

 

--Sharon

slangley
23-Emerald II
(To:slangley)

Hi @mvajla.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.  If you still have issues, please let us know.

 

Regards.

 

--Sharon

Announcements


Top Tags