Refresh Footer

Hi,



I have a grid with calcalated footer.





mygrid.attachFooter( "<? echo SUM_TOTAL ?>,#cspan,

0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
, , " );





// After Update show the new calculated value in the appropriate cell

myDataProcessor.setOnAfterUpdate( function( id, action, rowID ){

if ( myDataProcessor.getSyncState())

mygrid.cells( id, 9 ).setValue( rowID );

mygrid.???

});



After re-calculation of values using myDataProcessor I can change the content of a cell, but how to start a re-calculation of the footer?



Can you help?



Best regards

Klaus

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