I can get the footer total of a INT column like this:
footerCallback: function ( row, data, start, end, display ) {
var quantita = this.api(), data;
// Total over all pages
total_quantita = quantita
.column( 5 )
.data()
.reduce( function (a, b) {
return intVal(a) + intVal(b);
}, 0 );
// Total over this page
pageTotal_quantita = quantita
.column( 5, { page: 'current'} )
.data()
.reduce( function (a, b) {
return intVal(a) + intVal(b);
}, 0 );
// Update footer Column "quantita"
$( quantita.column( 5 ).footer() ).html(
pageTotal_quantita +' ('+ total_quantita +' total)'
);
My question is: How can i get the total of a hh:mm:ss data type column like above? Thank you!