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 / Navigate to another sc...
Power Apps
Answered

Navigate to another screen when selecting a row in Data table

(0) ShareShare
ReportReport
Posted on by 78

Hi Everyone,

 

I am trying to navigate to a detail when selecting a row in data table.

Some blogs or videos saying that these is a Selected or On select property on Data table how ever I can not find any.

 

Is there any way to do this?

 

 

Thanks,

 

Maryam

 

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @merry 

    The entire datatable does NOT have any actions on it.  Individual columns in the table DO have an OnSelect action.

    You can use that, but it would be only applicable to that column.

     

    If you want more control over the OnSelect being related to the entire table, I would consider using a Gallery instead of a datatable.  But, since that is more work to set up, if the column OnSelect actions work for you, then use them.

     

    I hope this is helpful for you.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @merry 

    To expand a bit on @RandyHayes 's suggestion, a gallery can be made to look identical to a datatable by placing its labels horizontally and adding a row of labels outside the gallery to look like a heading. 

    However, if you set every visible column's OnSelect property to Navigate(DetailScreen) and set the form's item property to DataTable1.Selected, your goal would be accomplished. 

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @merry 

    To expand a bit on @RandyHayes 's suggestion, a gallery can be made to look identical to a datatable by placing its labels horizontally and adding a row of labels outside the gallery to look like a heading. 

    However, if you set every visible column's OnSelect property to Navigate(DetailScreen) and set the form's item property to DataTable1.Selected, your goal would be accomplished.  This is easy to do by holding down the control key and selecting all the columns in the datatable on the left side of the screen; choose the OnSelect property and type in Navigate(DisplayScreen).  

    _9.jpg

     

  • Verified answer
    merry Profile Picture
    78 on at

    Thank you so much! it totally makes sense. I have 2 questions:

    1- For Data table: If I use that suggestion is there any way to navgate to detail with double click?

    2- Regrading the gallery suggestion, Is it possible to make the Gallery responsive if the screen is change to Mobile layout?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @merry 

    Regarding question 1, unfortunately not that I am aware of.

    For question 2, I believe so using containers but I don't have experience doing it. I believe Shane Young has a video about it.

  • merry Profile Picture
    78 on at

    Thanks much I will look and post in other questions . Thanks for the help!

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 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard