This is my jqgrid footerrow code
loadComplete: function() {
var debit = $("#myDataList").jqGrid('getCol', 'debit', false, 'sum');
$("#myDataList").jqGrid('footerData', 'set', {category: 'Total:', debit: debit});
var credit = $("#myDataList").jqGrid('getCol', 'credit', false, 'sum');
$("#myDataList").jqGrid('footerData', 'set', {category: 'Total:', credit: credit});
}
I want to cum up two column value debit and credit, my problem now is the total value only sum up the current page but not all.