I can not see any problem with Firebug. All I can see is that when I hover print button appears the class TableTools_print_hover but it does not work with the others buttons...
Most likely the SWF hasn't been loaded. The Flash SWF provides the ability to save files and copy to clipboard - you need to set the swf path using something like: TableToolsInit.sSwfPath = "/media/swf/ZeroClipboard.swf";
What is weird is that I can make it work through the web http://www.datatables.net/release-datatables/extras/TableTools/. It means I think that I have the correct flash software.
Replies
thanks,
Allan
I have this on my javascript code:
$(document).ready( function () {
TableToolsInit.sSwfPath = "/media/swf/ZeroClipboard.swf";
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip'
} );
} );
What is weird is that I can make it work through the web http://www.datatables.net/release-datatables/extras/TableTools/. It means I think that I have the correct flash software.
Thanks!
I don't really know what's going on...
I am trying to make it works...but I don't know it keep doing nothing.
With IW I get the Exception 'Unable to load SWF file - please check the SWF path' but after changing th path several times...it does not work..
here is the code that I use (I've checked all files in the right place...):
[code] TableTools example
$(document).ready( function () {
$('#example').dataTable( {
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sDom": '<"H"Tfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "media/swf/copy_cvs_xls_pdf.swf",
"aButtons": [
"copy", "csv", "xls", "pdf",
{
"sExtends": "collection",
"sButtonText": "Save",
"aButtons": [ "csv", "xls", "pdf" ]
}
]
}
} );
} );
[/code]