How to move column summary to the top of a tableview


Does anyone have a code snippet that moves the row that sums up the columns to the top of the table instead of the default position in the bottom?

I would like to have it since, I have 2 table views next to each other, and one of them typically shows many records, and the other one not so many.

So It would be nice to have the totals in the top, instead of having to scroll to the bottom every time.