Pages

Tuesday, February 26, 2013

Add Footer Summary Data in JQgrid


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