Collapse other sections when one is expanded

0
I  am using group box to achieve collapse/expand functionality but  I want to collapse other sections when I expand one of the sections. How can I do this. I know I have to change the attribute value “aria- expanded” through JS but where can I call nanoflow.
asked
2 answers
0

This is can be achieved also with a simple list view and a boolean per list view which can be toggled true/false to show or hide the item.

Add in your page a ‘openened’ element which is visible when the boolean is true.
Add another element in your page for ‘closed’ state of the item and make it visible when boolean is false.

 

In this way you have way more flexibility then a groupbox.

answered
0

Try the acordion widget https://marketplace.mendix.com/link/component/117895

answered