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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard