I've tried the idea with the second render.
In the first render, I add an empty tfoot which will just hold the space.
In the second render I won't add tfoot, but instead, add an extra plain row with a calculated sum value.

Here is the demo
https://playground.jsreport.net/w/anon/B8L1tR4y