Open a modal with a form from a listview component

I 'm trying to open a modal with a edit form from a listview so I can edit the data in each row. I'm having trouble accessing the data from the listview in the form. Can I access "SelectedRow" from a listview component so I can access the data? Any suggestions on how to get the data from the listview and display in a modal with a form.

@Jeff76 Can you share some screenshots. What you want to is completely possible but probably more complicated than it needs to be... perhaps using tables might be easier....depends on what you are trying to do.

Actually, I solved this problem by using {{[i]}} as the default value for the form field. Then I used {{form1[i]}} in the update query to save the data back to the DB.