Hi Harmjan,
You are correct, I never checked that it is passing the correct row's id. I actually never used this solution in the end, I did something else, so it was never tested properly.
@ Alberto, I attach new example, it passes the row's value to the receiving screen to check that the value of the row clicked is passed on.
All I changed was add the"find" to the JQuery part.
My apologies for the misunderstanding and failing to test properly.