Datatables Tabletools Buttons not Working
Datatables Tabletools Buttons not Working
On my web page, I am using Server-side processing to get the data for my table. Here is my page link http://eportal.ng/tungalicious/configuration/allSchools/
The .swf is loading fine and is located here:
"sSwfPath": "http://eportal.ng/img/dataTools/swf/copy_csv_xls_pdf.swf"
Print works fine. Copy, PDF, CSV, XLS are not working.
Here is my full call to dataTable function:
$(function() {
$('#listTable').dataTable( {
"sPaginationType": "full_numbers",
"sDom": "T<'tableHeader'<l><'clearfix'f>r>t<'tableFooter'<i><'clearfix'p>>",
"iDisplayLength": 25,
"serverSide": true,
"processing": true,
"deferRender": true,
"ajax": "http://eportal.ng/tungalicious/configuration/school_list/",
"tableTools": {
"sRowSelect": "single",
"sSwfPath": "http://eportal.ng/img/dataTools/swf/copy_csv_xls_pdf.swf",
"aButtons": [
"copy",
"print",
{
"sExtends": "collection",
"sButtonText": "Save",
"aButtons": [ "csv", "xls", "pdf" ]
}
]
}
} );
$('.dataTables_length select').chosen();
} );
DataTables Debug bookmarklet: http://debug.datatables.net/oxujoy
Please can I get a guide on what I am not doing correctly so I can fix it. Thanks in advance.