Skip to main content
1-Visitor
July 27, 2018
Solved

Expand/Collapse Row in Collection Widget

  • July 27, 2018
  • 1 reply
  • 1810 views

Hello,

I'm attempting to create some animation (expand/collapse) of a row within the Collection Widget. Please reference the attached image. The goal is to expand/collapse the "Region" rows, with the ability to have multiple "Regions" expanded at the same time.

 

CollectionWidget.jpg

 

Is this even possible with the Collection Widget? I can't seem to find a way to create this functionality. I attempted utilizing the Visible property on the referenced mashup in the collection, but the collection still reserves the space when setting the mashup to invisible. I also attempted to dynamically rebuild the bound infotable only displaying the desired region when selected, but this redraws the collection and causes the selected row to reset when the new collection is generated.

 

Thanks in advance for any response!

Best answer by wposner-2

The collection widget is not meant to be utilized in this fashion.  it's great for custom menus or more robust repeater type functionality, but is not meant for displaying collapsible tree type hierarchy.  That's what the tree widget is for.

1 reply

wposner-21-VisitorAnswer
1-Visitor
July 30, 2018

The collection widget is not meant to be utilized in this fashion.  it's great for custom menus or more robust repeater type functionality, but is not meant for displaying collapsible tree type hierarchy.  That's what the tree widget is for.

tearnest1-VisitorAuthor
1-Visitor
July 30, 2018

Thanks for the response.

That's too bad. The Tree widget is very limited with its styling, so that's why I was attempting other methods such as the repeater/collection widget.