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 / Container hide/show ba...
Power Apps
Unanswered

Container hide/show base on row selection

(0) ShareShare
ReportReport
Posted on by 2

Trying to get the show/hide on visible property to work with container visibility

Container 1 (always visible)
This has row of date from table
 
 
 

Container 2

Should only be visible when a row is selected in the table of Container 1

Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Rogue843 - assuming you have Gallery controls inside these Containers, when a user first starts the app and makes a selection from the Gallery in Container 1, your app is always going to be consider that Gallery control as selected unless it is reset with empty.

     

    For example, on the Visible property of Container 2, I would expect you have something along the lines of:

     

    !IsBlank(Gallery1.Selected)

     

    On the Default property of the Gallery in Container 1, use:

     

    {}

     

    Insert a Button control and on the OnSelect property, use:

     

    Reset(Gallery1)
  • IamRogue Profile Picture
    4 on at

    Not using gallery. No plan to do so.

    Will this still work in this manner?

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @IamRogue - no idea because I have no idea what controls you're using.

  • IamRogue Profile Picture
    4 on at

    Using to containers 

    1 has table control other has edit form control

     

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @IamRogue - sorry but my knowledge of modern controls are mostly non-existent, but the same concept will apply if the Table control has a default property.

  • Rogue843 Profile Picture
    2 on at


    Container 1 has container name stepTbl and is using the Table modern control
    Container 2 has an Edit Form named stepForm and is using the Form modern control.

    The behavior needs to be as followed:

    • Container 2 is hidden by defaults
    • When user selects a row in Container 1 the Container 2 appears with the ability to edit the row selected.

    In container 2 I have this in the visible property.
    Just unsure how I setup the behavior for this to happen as required. This is using modern controls.

    IsBlank(stepTbl.Selected)

     

     

    Rogue843_0-1715691550558.png

     

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Rogue843 - as mentioned, I have almost zero knowledge of modern controls. I have added @WarrenBelz who might be able to offer some insight.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard