10
Views
6
Comments
Solved
toggle button without pop up on traditional web screen

Hi Team,

I need help to implement a toggle button on Traditional web screen, and the functionality should be like this:

Expand all or Collapse all on the screen:

1.on first click the image (down arrow) should display and at the same time it expand and show all the details in the screen.

2. on the second click the image (Up arrow) should be displayed and all the windows in the screen should collapse(will not show the details).

What I have implemented:

I have placed a link on the main screen and on click it will call a screen action with boolean parameter, which has negate action for the boolean value and this will set the same value to screen local parameter, and this local parameter I have configured this in the my screen in all the "content/AccordionItem"(isOpen filed), but after deploying and testing it is taking the first click and exapnds (show all the details) but when I click second time it is not responding (it is should collapse all the windows).

How to implement this, please help me with an example or a reference guide. Thank you in advance.

Regards,

Madhu

mvp_badge
MVP
Rank: #90
Solution

Hi Madhu,

Refer the implementation in the attached .oml file

Hope this helps you!


Kind Regards,

Benjith Sam

SampleAppAccordionDemo.oml

mvp_badge
MVP
Rank: #90

Hi Madhu,

Is this is what you are looking for? see this sample app-AccordionDemo

If so, please let me know.. I will help you with the same


Kind Regards,

Benjith Sam

Rank: #650

Hi Madhu,

You can use Accordion and Accordion item widget to achieve your requirement.

Regards,

Vipasha

mvp_badge
MVP
Rank: #90
Solution

Hi Madhu,

Refer the implementation in the attached .oml file

Hope this helps you!


Kind Regards,

Benjith Sam

SampleAppAccordionDemo.oml