Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

DataTables with column rendering - Sum of two or more columns

$
0
0
Hello all,
I'm using mRender to combine the contents of two cells and then hiding the second cell as in http://www.datatables.net/release-datatables/examples/advanced_init/column_render.html. It works fine for me.
Now, I'm wondering if it is possible to store the sum of two or more columns into another column say sum of col1 to col7 into col8.
If yes, then how?
Any help is highly appreciated.
PS : I've already used fnFooterCallback() to add sum of rows in footer, but not able to use that in above context.

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>