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 / Show Container with Vi...
Power Apps
Answered

Show Container with Visual Form when select Table data

(0) ShareShare
ReportReport
Posted on by 8

Hello!

 

I have an App who focused on a kind of ticketing. I'm making some visual and interaction improvements and one of this improvements is make that, when they select a row from a Data Table, This Disable the table visual and display a container (a kind of pop up) which contains a form in view style, with the information of the selected line. Is this possible?

 

I tried setting the views and applying the conditions in the OnStart and Visible actions, but does not display the selected information from the form. If I just put the form in view style next to the table, it works, but my idea is to make this app a little more interactive.

 

Is there any idea how I can achieve this?

 

Regards!

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @emilealons0 - 

     

    As I understand it. You have a Data Table control. You also have an Edit Form control which has been embedded inside a Container.

     

    When a user selects a record from the Data Table, you want to Container to become visible, and to populate the Edit Form with data from the selected record. You also want to set the DisplayMode of the Data Table control to disabled.

     

    The DataTable control remains in Preview and does not have a DisplayMode property. However, you can easily replicate the same functionality using a Gallery control.

     

    Steps:

     

    1. Insert a Gallery control and ensure the Items property is pointing to the same data source as the DataSource property in your Edit Form.

     

    2. On the OnSelect property of the Gallery control, enter:

     

    UpdateContext({ctx_showdialog: true})

     

    3. On the DisplayMode property of the Gallery control, enter: 

     

    If(
     ctx_showdialog,
     DisplayMode.Disabled,
     DisplayMode.Edit
    )

     

    4. On the Visible property of your Container, enter:

     

    ctx_showdialog

     

    5. Insert a Button control or a Cancel Icon into your Container. On the OnSelect property of the Button/Icon, enter:

     

    UpdateContext({ctx_showdialog: false})

     

    6. On the OnVisible property your screen, enter:

     

    UpdateContext({ctx_showdialog: false})

     

    7. On the Item property of the EditForm, enter:

     

    'Your Gallery Name'.Selected

     

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
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard