DataTables is functioning properly on my website, but I am facing issues with getting the tableTools css to work correctly. Specifically, I'm unable to get the copy_csv_pdf_print.swf
file to load. While I can render the table with some styling, other aspects are not working as expected.
The copyCSVExcelPDFPrint
links are supposed to display as buttons in the top left corner according to http://datatables.net/extras/tabletools/, however, they are appearing as simple links instead.
I have included all necessary css and javascript files, along with the tableTools css files. Additionally, I have added the following jQuery code snippet to my php file targeting the table with id demo
:
jQuery(document).ready( function ($) {
$('#demo').dataTable( {
"sDom": 'T<"clear">lfrtip<"clear spacer">T'
} );
} );