title: How to get the total sum of a column in jqgrid
body: <p>i have a two columns in jqgrid, ShopID and NetSales, and i would like to add <code>Contribution Column</code> which will be a calculated column. the formula is NetSales divided by Total. please see image for example.<a href="https://i.stack.imgur.com/XZnpO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XZnpO.png" alt="enter image description here"></a> </p>
  
  <p>i know how to get the Total using <code>getCol</code> like this <code>var sumtotal = grid.jqGrid('getCol', 'NetSales', false, 'sum');</code>, but dont know how to use it further for division. i have tried, but it didnt work. please help. </p>
  
  <p>i </p>