web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / expand and collapse us...
Power Apps
Unanswered

expand and collapse using the buttons

(0) ShareShare
ReportReport
Posted on by

Hello
I would need help.

I have created the display as it is in the photo, everything works, I just want to click on that button and the gallery opens, and then when I click a second time, it closes, or I could also open several of those groups at the same time, now it works for me just one at a time.
Can you help me with that, thank you

AndrejPavlik18_0-1716885668347.png

 

Categories:
I have the same question (0)
  • Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @AndrejPavlik18 

    Are all of the buttons from "02 Pretreatment 4" up to "10 Quality inspection and management NOKs" inside the same gallery?

    First of all, use a Flexible Vertical Gallery to be collapsible. Then the items property of the gallery should be a collection. Then you should have a column in the collection as a flag when to expand or collapse. When you click a button, you should patch that column to either true or false and let the contents of the row be visible/invisible based on that true/false value. The flexible gallery will collapse/expand automatically.

     

    You may also see this tutorial. It demonstrates a good example of an accordion-type gallery.

    Power Apps – How to create an accordion or a expandable gallery 

  • AndrejPavlik18 Profile Picture
    on at

    Hi 

    Thanks for your answear, 

    Yes that buttons is in one gallery and inside that gallery is nested gallery where is concreke and filtered data. 

    your procedure does not fit my task and I don't know how to implement it

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard