The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
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.
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
Solved! Go to Solution.
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
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
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