TableTools/DataTables-1.8.0 PDF/Copy/XLS not working
TableTools/DataTables-1.8.0 PDF/Copy/XLS not working
_jthomas
Posts: 75Questions: 0Answers: 0
Hi Allan,
I am receiving the in this section of ZeroClipBoard.js
[code]
this.loadingTimer = setTimeout( function () {
throw( 'Unable to load SWF file - please check the SWF path' );
[code]
The table definition is given below and when I click on PDF button the above error occurs in chrome browser version 12.0. Please note that the files are referenced locally. Actually, the only buttons that work are "print", "select_all" and "select_none". Please advise and thanks very much
[code]
var oTable = $('#customer').dataTable( {
"sDom": 'T<"clear"><"H"lfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "file:///C:/offline/DataTables-1.8.0/media/swf/copy_cvs_xls_pdf.swf",
"aButtons": [ "pdf", "print", "csv", "xls", "select_all", "select_none" , "copy" ]
},
"bJQueryUI": true,
"bProcessing": true,
"sAjaxSource": "customer/sample.txt",
"bDeferRender": true,
"bAutoWidth": false,
"aaSorting": [],
"iDisplayLength": 25,
"aLengthMenu": [[25, 50, 100], [25, 50, 100]],
"sPaginationType": "full_numbers",
"oLanguage": {
"sSearch": "Search:",
"sZeroRecords": "No matching records were found.",
"sProcessing": "Processing..."
} );
[/code]
I am receiving the in this section of ZeroClipBoard.js
[code]
this.loadingTimer = setTimeout( function () {
throw( 'Unable to load SWF file - please check the SWF path' );
[code]
The table definition is given below and when I click on PDF button the above error occurs in chrome browser version 12.0. Please note that the files are referenced locally. Actually, the only buttons that work are "print", "select_all" and "select_none". Please advise and thanks very much
[code]
var oTable = $('#customer').dataTable( {
"sDom": 'T<"clear"><"H"lfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "file:///C:/offline/DataTables-1.8.0/media/swf/copy_cvs_xls_pdf.swf",
"aButtons": [ "pdf", "print", "csv", "xls", "select_all", "select_none" , "copy" ]
},
"bJQueryUI": true,
"bProcessing": true,
"sAjaxSource": "customer/sample.txt",
"bDeferRender": true,
"bAutoWidth": false,
"aaSorting": [],
"iDisplayLength": 25,
"aLengthMenu": [[25, 50, 100], [25, 50, 100]],
"sPaginationType": "full_numbers",
"oLanguage": {
"sSearch": "Search:",
"sZeroRecords": "No matching records were found.",
"sProcessing": "Processing..."
} );
[/code]
This discussion has been closed.