I have downloaded example
from TableTools. Which is working fine. what i did is i copied the content of the index.html to another file and associated every path. Fla
Think this will help
"sDom": 'T<"H"plfr>t<"F"ip>',
"oTableTools": {
"aButtons": [ "csv", "pdf" ],
"sSwfPath": "https://datatables.net/release-datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
}
Instead of an sSwfPath value to a local file, try this url:
http://datatables.net/release-datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf
For some reason this provides functionality for me, but the local file does not.
Basically the problem is about the specify the swf path incorrectly.
"sSwfPath": "http://localhost/TableTools/media/swf/ZeroClipboard.swf"
Try to replace this path with
"sSwfPath": "../media/swf/ZeroClipboard.swf"