I read about using getCol metod from jqgrid for display a summarized column in the footer of grid in this question with something like:
var grid = $("#list"),
sum = grid.jqGrid('getCol', 'amount', false, 'sum');
grid.jqGrid('footerData','set', {ID: 'Total:', amount: sum});
But when the grid include a pager the calculation occurs only for the displayed data, i need show a General total of column in a Textbox.
This should be done using a foreach, or is there some method to do it most effec?
Obviously I could include it in my model but want to do it client side