Can't export header and footer data
Can't export header and footer data

Hello. I'm using tabletools to export data to EXCEL and PDF.
The problem is that header and footer data are not exported. Just the data between them.
Even if I use "bFooter": true, it doesn't work.
I'm using the latest version of datatables.
Does anyone know how to solve this problem?
Here's my code:
$(function() {
$('#listTable').dataTable({
"sDom": '<"H"iTfr>t<"F"p>',
"oTableTools": {
"aButtons": [
{
"sExtends": "xls",
"sButtonText": "Exportar para EXCEL",
"mColumns": [0, 1, 2, 3, 4]
},
{
"sExtends": "pdf",
"sButtonText": "Exportar para PDF",
"mColumns": [0, 1, 2, 3, 4]
},
{
"sExtends": "print",
"sButtonText": "Imprimir",
"mColumns": [0, 1, 2, 3, 4]
}
],
"sSwfPath": "lib/js/jquery/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
},
"aaSorting": [[ 0, "asc" ]],
"bJQueryUI": true,
"bFilter": false,
"bLengthChange": false,
"iDisplayLength": 50 ,
"oLanguage": {
"sInfo": "<span class='texto-formulario'><b><?=$metodo;?></b></span>"
},
"aoColumns": [
{ "sType": "date-uk" },
null,
null,
{ "sType": "numeric-comma" },
{ "sType": "numeric-comma" }
]
});
} );
Thanks in advance!
This discussion has been closed.