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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

TreeGridAdvanced expand/collapse, multiple childs vs. parent

mvajla
13-Aquamarine

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