Trying to activate TableTools extension
Trying to activate TableTools extension
Hi, I'm kind of new to DataTables and i'm trying to use the TableTools extension but it doesn't seems to appear.
i loaded all the js and the css and i see the Original DT that i had before, i also used the website manual to configure it.
my initialization code:
$(document).ready(function() {
$('#example').DataTable( {
dom: 'T<"clear">lfrtip',
tableTools: {
"sSwfPath": "../../media/swf/copy_csv_xls_pdf.swf"
}
} );
} );
i also viewing an error in Mozilla Firefox in the debugging console: "TypeError: jQuery.fn.dataTable is undefined"
Answers
my debug code from your debbuger: http://debug.datatables.net/uzejik
According to the Debugger:
"TableTools - Not installed"
Probably loading jQuery multiple times. But without a test link it is difficult to say.
Allan
how can i create a test link?
Use JSFiddle, CodePen of http://live.datatables.net .
Allan
Hi allan,
thanks for your help but i finally got this to work-
The problem was loading Table Tools js files before DataTable js files.
I think you should mention it at the manual.
Best regards!