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
Hi Madhu,
Refer the implementation in the attached .oml file
Hope this helps you!
Kind Regards,
Benjith Sam
Benjith Sam wrote:
Thanks Benjith for the prompt help.
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
You can use Accordion and Accordion item widget to achieve your requirement.
Vipasha
Vipasha Sharma wrote:
Thanks Vipasha, for the sharing the information.