Scrolling position in table

Is there a way that I can know what the scroll bar position is inside of a table?

I need to move a box inside of a table based on the selected row of the table. However, the end users can add an infinite number of rows, which will lead to the table having a scroll bar. I do not know how to move the box around when this happens.

Can you not use the selectedRow property of the table or the getSelectedRow() function of the table?

I put the following on a propertyChange event on the table and it printed out the correct selected row for me:

if event.propertyName == "selectedRow":
	print event.source.selectedRow