Sum hidden filtered column

Sum hidden filtered column

nullonenullone Posts: 2Questions: 0Answers: 0
edited June 2013 in General
I have a hidden column which contains a numeric value. I would like to sum that column when a filter is applied. I can sum the column inside fnFooterCallback looping over aaData, but that seems to work only when the table is initially drawn. I can also use fnFooterCallback as follows:
[code]
var oTable = $('#example').dataTable();
var data = oTable._('td:nth-child(6)', {"filter": "applied"});
var Total = 0;
for ( var i = 0; i
This discussion has been closed.