Hi,
Looking over some vids regarding Canvas app and the new Table control. They all show the form to the right of the table on the same screen. When you click on a row, it populates the form, then a save button is added. (dataverse table)
My app will predominantly run on a mobile device so I want to add there edit form on its own screen.
Ive worked out populating the screen but can't work out how to navigate to it when double clicking on a line in the table
Thanks in advance
Todd
I'm not sure about double clicking, but Table control publishes "OnSelect" event and "selected" property, so you could technically use a hidden form bound to your data source and show it when "selected" is true, and use the table control's "OnSelect" to drive form's show/hide logic
Hello @Tango, you can achieve this through the column control of the new table view control. Columns in the table have OnSelect property, set it this formula and change it as needed:
Navigate(
Screen2,//Screen that has an Edit Form (Make Sure the Item Propoerty of that Form is set to selectedRecord
ScreenTransition.CoverRight,
{selectedRecord: DataTable1.Selected}
)
If my reply helped you, please give a 👍 If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it more.
Visit my Blog: ahmedsalih.blog
Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos
Microsoft Business Application MVP
Have to tried adding function Navigate(<formScreen>) at the end of code you use to populate the form?
Hi @Tango ,
I don't work a ton with canvas apps but this appears very similar to what you are trying to do? https://powerusers.microsoft.com/t5/Building-Power-Apps/Auto-populate-Form-with-gallery-selection-from-multiple-screens/td-p/2442669
Does this help? If not I can try to recreate...
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,077
Most Valuable Professional