How to make all of those lists visible in accordion

If you look at the attached file, there is an extension button reduction button at the bottom of the accordion list, how did you do it?

The Expand All and Collapse All buttons are not part of the Accordion. What you're looking at is a container (most likely a Flex container) which has (most likely) an Accordion and then some other container (again, likely Flex). Within that secondary container, there are two buttons, An "Expand All" button which invokes something like

for item in self.parent.getSibling("Accordion").props.items:
    item.expanded = True

While the "Collapse All" button does the same thing but setting expanded to False.

2 Likes