Running total over pagination

Dear all,

I have a simple cash management app where the gridview will display debet, credit and balance. The thing if the row grows over 20 rows (more than 1 page), the balance become incorrect since it only counts whatever on that page. Is that possible to inject previous balance before row 1 of current page? or having balance column to display the previous balance from previous page?

TIA

Daniel