How to use a footer

How to use a footer

OenselOensel Posts: 19Questions: 4Answers: 1

Hi folks,

I don't get my tables footer to work. I want to use the <tfoot> to sum or average the data of some columns, but I don't know how to get a <tfoot>-Element with td/th in int.
My 'dom'-paramter is set to : "dom": '<"H"<f<"custom_searchbar">pli><custom_toolbar">>t<"F">'
So a tfoot-Element should exist.

Do I have to add the th/td-Elements by myself, or is it auto-generated ?
I want to access the columns-footer by 'column(x).footer()' afterwards to fill in the sum.

Please give me a hint.

This discussion has been closed.