onRowSelect event in loop

Hi everyone, I have this need.
At the click of a button, loop on an onRowSelect() event, scrolling the table from start to finish, reading and saving the data of each row. It’s possible?

Thanks
Claudio