bug in sum_state when using grid with ajax pagination

I used ajax pagination in grid and put sum_state for footer.

it show me sum of current column and when click to other page, it increase sum when load other pages.
how can I compute sum of all pages column value for sum_state.
excuse me for bad English.

If you are using dynamic loading - you need to provide some fixed value instead of sum auto-calculation ( as grid will not be able to calculate not loaded yet values )

If you are using static paging ( all data was loaded at once ), try to add the code like next

grid.attachEvent(“onXLE”, function(){
for (var i=0; i<grid.getRowsNum(); i++)
grid.render_row(i);
});

Be sure to place this line before attachFooter command