auto-calculated footer

After the .init() of the grid, the auto-calculated footer display “{#stat_total}”… can I force it to “0” when the grid is empty?

You can force grid stat recalculation by next command
    grid.callEvent(“onGridReconstructed”,[])

after it , all footer values will be recalculated, and if grid has not data, #stat_total will be replaced with 0