Announcements
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
@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.
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.
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).
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?
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.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 393 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 278 Most Valuable Professional