calculate footer row average and display on a different page
calculate footer row average and display on a different page
Hello
i have a question and maybe somebody could point me in the right direction.
I would like to display the total average of running time calculated from a footerCallback
i prepared a fiddle where you can see the footer callback displayed as column average for the displayed table and total table. what i would like to do is sum all (total) values from the footer row and divide these by the number off compressors to receive an overall average. Future i would like to display the overall average on a different page if possible. for example '(' + parseFloat(theColumnTotal / columnDataTotal.count()).toFixed(2) + ' Total)' / 5 = total average
Any help would be appreciated
Best regards
pascal
Answers
Hi @prcwest ,
Here's a rough implementation - you could tidy it up as repeated code - but that should get you going,
Cheers,
Colin