Valores de fila de suma en jQuery dataTable
Plain text
1
2
3
4
5
` <script src="https://cdn.datatables.net/plug-ins/1.10.19/api/sum().js"></script>`
$(document).ready(function() {
var sum = $('#example2').DataTable().column(4).data().sum();
$('#total').html(sum);
});
Shy Salmon