Column sum by column name

Column sum by column name

efremovefremov Posts: 1Questions: 1Answers: 0

I using this Sum plugin (https://datatables.net/plug-ins/api/sum()
Can I calculate sum based on COLUMN NAME instead of column index??

var api = this.api();
      $( api.table().footer() ).html(
        api.column( 4, {page:'current'} ).data().sum()
      );

Answers

This discussion has been closed.