I understand that table rows are not editable and a gallery table would work better for including edit buttons and whatnot. What I'm wondering, though, is if I have a data table instead, can I set it so that if a user clicks on a particular row, they get taken to a screen where that row's data will be and they can edit it there? I don't see an OnSelect property for data tables or anything to do with individual rows. Thank you.
You can't do it on the entire table, but you can do it on the columns in the table.
It's easier to deal with if you don't have to navigate to another screen based on user clicking on something.
If you had the edit form in the same screen, then your edit form could just reference the dataTable.Selected item.
I hope this is helpful for you.
So an edit form can be attached to a row and when that row is clicked, a form will come up with all of that row's data auto-populated in the form fields?
Yes, your EditForm Item property can be : yourDataTable.Selected
The only challenge you have with the EditForm on another screen is navigating to it. It's something the needs a behavioral action to do. So, the painful - set the OnSelect action of all columns to : Navigate(yourEditFormScreen)
User | Count |
---|---|
256 | |
107 | |
90 | |
51 | |
44 |