Selected_row reporting

In one of the answers I had, selecting a row in a dataframe on the left-side and showing the content of the pdf on the right-side based from the selected row, in a way I showed how to get the row index of the selected box in a dataframe.