can i create tfoot like thead

can i create tfoot like thead

SunilgoelSunilgoel Posts: 48Questions: 19Answers: 0

Hi Support,
"columns": [
{ "title" :"SLNo",data: 'slno','sClass': 'text-primary text-center' },

above statement automatically create thead and th in table , can i create tfoot .



  • allanallan Posts: 54,881Questions: 1Answers: 8,601 Site admin

    No, sorry. There are a number of other threads on this topic (such as this one) where this has been asked, but I'm afraid that there is no option for DataTables to automatically create footer elements at this time.

    You have to use standard jQuery / DOM methods to add them to the table before the DataTable is initialised.


This discussion has been closed.