don't manage to make the sum() function works

don't manage to make the sum() function works

fmargueriefmarguerie Posts: 36Questions: 3Answers: 0
edited May 2022 in Free community support

in my code, I have

<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">  
<link href="https://cdn.datatables.net/plug-ins/1.12.1/api/sum().js rel="stylesheet">   


function additionColonne(numColonne) {
    var table = $('#factures_mo').DataTable();
    alert('avant addition');
    table.column(numColonne).data().sum();
    alert('total');
    return (total);
}

I have the following issue : any help please ????
Thanks a lot;

Replies

Sign In or Register to comment.