step :
1. Add properties JQgrid -> footerrow ; true,
2 Add function Load Complete in JQgrid.
-sample script :
footerrow : true,
loadComplete: function() {
var SumQty = jQuery(“#posupreply”).jqGrid(‘getCol’, ‘PS_Qty’, false, ‘sum’);
jQuery(“#posupreply”).jqGrid(‘footerData’,'set’, {PS_SchedSeq : ‘Total:’ , PS_Qty : SumQty }); }
No comments:
Post a Comment