Hey there, I'm looking for a way to calculate the total sum of the "montant" column in my jqgrid and then display it below the grid as "Total: *total amount*". Here is the code for my grid:
<sjg:grid id="gridtable"
caption="Quittance Payée"
dataType="json"
width="755"
href="%{remoteurl}"
pager="true"
gridModel="gridModel"
rowList="5,10,15,20"
rowNum="5"
rownumbers="true"
>
<sjg:gridColumn name="entreprise" index="entreprise" title="Entreprise"/>
<sjg:gridColumn name="nature" index="nature" title="Nature" sortable="false"/>
<sjg:gridColumn name="numero" index="numero" title="Numero" sortable="false"/>
<sjg:gridColumn name="montant" index="montant" title="Montant" sortable="false"/>
</sjg:grid>
Any suggestions or ideas on how to achieve this? :)