refresh the footer on cell value change by user

i am using Grid.attachFooter(…,{#stat_total},…});



it gives me a total calculation on grid load. How can I refresh the footer to get new value of #stat_total when I changing some grid cell value?



Thanks.

If cell changed by user actions ( edited ) - footer value will recalculate automatically.
If you are changing value by API , you may force footer recalculation by
grid.callEvent(“onGridReconstructed”,[])

thank you! it works now!