324
Views
6
Comments
Re : RichWidget Container_ExpandCollapse
Question
Hi,

How do the collapse / expand start with the container hidden?

Best Regards

Eduardo
2021-03-19 13-12-23
Felipe Souza
Hi Eduardo,

To do this, just set the "Display" property of the container to false.

Best Regards

Felipe Souza
2015-12-27 13-21-28
Luís Teixeira
Hi Eduardo,

In the container properties change display to false.

Best Regards,
Luís Teixeira
2025-11-03 12-56-18
Evert van der Zalm
 
MVP
Hello Eduardo,

You could use the RichWidget expand/Collapse for this, but you can easier make a local variable (boolean) assign it to the container display properties and set an onClick event on the expand/collape that runs an action with turns the boolean on/off and do a refresh of the container.

Kind regards,
Evert
UserImage.jpg
Rui Tomás

Hello,

Thank you Evert.

I have been struggling with this. 

I followed your approach, but I had to enclose the RichWidgets/Container_ExpandCollapse inside an dedicated container to be able to trigger the OnClick action which only toggles the boolean variable that controls the display of the expandable/collapsable container.

Best Regards,

Rui

2026-01-15 03-18-59
Vijay Malviya

Hi Rui, 

Please see the attached .oml file it's very simple example to understand collapse / expand.also you can manage and customize this example.

hope it will help you.


Vijay M-

ReactiveCollapseExpand.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.