Simply I want to add a row (copy the This Item in the action) and then edit the newly created row, not the row I copied.
A similar use case to what I actually am doing follows. Obviously my real world example is more complicated with a lot more data.
I have a list that is sorted via a time stamp that the user enters. Rows may have a time stamp that is the same. My data looks like this in the table.
Row Timestamp Description
…
10 Feb 21, 2024 10:00 Group 1
11 Feb 21, 2024 12:00 Group 1
12 Feb 21, 2024 11:00 Group 1
On the screen the data is shown in a List component like this (sorted by timestamp)
…
10 Feb 21, 2024 10:00 Group 1
12 Feb 21, 2024 11:00 Group 1
11 Feb 21, 2024 12:00 Group 1
and on each row there is action to copy that row. The action is like Josef_P’s above except I use a Show Edit screen. The user wants a row like row 12 so they select that row and copy it (add a row like 12).
My data in the table now looks like this
…
10 Feb 21, 2024 10:00 Group 1
11 Feb 21, 2024 12:00 Group 1
12 Feb 21, 2024 11:00 Group 1
13 Feb 21, 2024 11:00 Group 1
The “This item” in the action is still pointing at row 12 so the edit screen shows row 12 data. But the user does not know it and really probably thinks it is the new row. They edit it, changing Group 1 to Group 2. So my data in the table is now
10 Feb 21, 2024 10:00 Group 1
11 Feb 21, 2024 12:00 Group 1
12 Feb 21, 2024 11:00 Group 2
13 Feb 21, 2024 11:00 Group 1
They close the edit screen and the data in the List component is
On the screen the data is shown in a List Component is like this
10 Feb 21, 2024 10:00 Group 1
12 Feb 21, 2024 11:00 Group 2
13 Feb 21, 2024 11:00 Group 1
11 Feb 21, 2024 12:00 Group 1
Not really the desired result. Because I would like it (and I a pretty sure the user expects it) to be
10 Feb 21, 2024 10:00 Group 1
12 Feb 21, 2024 11:00 Group 1
13 Feb 21, 2024 11:00 Group 2
11 Feb 21, 2024 12:00 Group 1
And since there is only one column I can sort on in a list I cannot change the order to the desired order. I cannot concatenate the data in a sortable way because one is date/time and the other is text.
If I could have specified to change “This Item” to be the copied row (row 13) it would have worked perfectly and more inline with what a user would have expected.