Use "sum" value in grid footer

I want to modify how is displayed the value in the footer for the content options
“avg” | “sum” | “max” | “min” | “count”
Is there something like the template for the grid cells, where i get the text, row and col as inputs for the template?

Unfortunately currently there is no possibility to modify or customize the stat function results.
I’ve sent your request to the dev team and it will be observed, so the probable solution may appear in the future updates.
I’ll inform you about any possible progress on this issue.