fnFooterCallback

fnFooterCallback

estudiosestudios Posts: 52Questions: 0Answers: 0
edited April 2014 in General
Is it possible to have more than one row in a Footer. I did try changing this

var nCells = nRow.getElementsByTagName('th');

to

var nCells = nRow.getElementsByTagId('name');

but it did not work

Thanks

Replies

  • estudiosestudios Posts: 52Questions: 0Answers: 0
    sorry just an error in the Post not in the code
    var nCells = nRow.getElementsById('name');
  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Absolutely yes it is possible to have more than one row in the footer! You can just do `$('#myTable tfoot tr')` to get the rows in the footer. That can be extended to select whatever cells you want front he footer.

    Allan
This discussion has been closed.