DataTools don't seem to be working.
DataTools don't seem to be working.
Hi,
I have been experimenting with various options and I eventually have the code below.
At first the data tools worked but now only the "print" function works.
Ideally, I'd just like to offer the CSV with custom text ("Export the full table to a CSV File").
Can anybody help me?
Here's my page:
http://www.runthinkshootlive.com/hl-dt/
And here's the code I have:
$(document).ready( function () {
var oTable = $('#rtsltable').dataTable( {
"dom": 'CT<"clear">lfrtip',
"lengthMenu": [[25, 50, 100, 250, 500, -1], [25, 50, 100, 250, 500, "All"]],
});
new FixedHeader( oTable, {
"offsetTop": 53
} );
} );
TIA
This question has an accepted answers - jump to answer
Answers
If you look at the console in your browser you will see:
Either put the SWF file where it is being loaded from, or use
sSwfPath
to specify where it actually is: http://datatables.net/release-datatables/extensions/TableTools/examples/swf_path.html .Allan
allan, Thank you for your reply. That fixed it.