Hi All,
How can i achieve Expand/Collapse of all Accordion content item by using action.
Fallowed the below steps to implement - Attached is the OML for reference.
1. I created a IsExpand boolean variable and set default to False
2. Assigned the IsExpand variable to StartsExpanded for each Content/AccordionItem
3. Created a action to change the IsExpand variable to True - Expand Button
4. Created a action to change the IsExpand varibale to False - Collapse Button
Regards,
Vinod
Hey Vinod,You could use a simple Javascript to do it, in a way that you will click all items to make them expand or collapse.
Here is an example:
Thanks Raphael Ranieri
It works.
This is very helpful. Thanks for your reference.