Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

column.footer jquery

var table = $('#example').DataTable();
var column = table.column(0);
$(column.footer()).html(
  column.data().reduce(function(a, b) {
    return a + b;
  })
);
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #jquery
ADD COMMENT
Topic
Name
9+3 =