The On Row Click trigger of a table actually does not transmit the ID of the database record, but the row number of the table on which the click was made. You have to additionally use the Expand block and get ID records from it.