TableTools 2.0.1 'Movie not loaded' problem
TableTools 2.0.1 'Movie not loaded' problem
kwoo
Posts: 6Questions: 0Answers: 0
Hi,
I am struggling to get table tools to work with 1.8 version of datatables. Right clicking on buttons in chrome/Firefox shows 'movie not loaded'.
I am just using standard configuration:
[code]
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "/appContext/resources/media/swf/copy_cvs_xls_pdf.swf"
}
});
[/code]
any ideas on whats stopping flash object being loaded? The paths seem correct to me.
I am struggling to get table tools to work with 1.8 version of datatables. Right clicking on buttons in chrome/Firefox shows 'movie not loaded'.
I am just using standard configuration:
[code]
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "/appContext/resources/media/swf/copy_cvs_xls_pdf.swf"
}
});
[/code]
any ideas on whats stopping flash object being loaded? The paths seem correct to me.
This discussion has been closed.
Replies
Allan
I have a table on second tab and its not working correctly (though print is), it works correctly when not used within 'hidden tab'. I thought this was corrected in 2.0.1 release? is there something speacial i need to do trigger on 'display' of tab?
[code]
$(document).ready( function () {
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "${swfPath}"
}
});
$("#exampletabs").tabs({
"show": function(event, ui) {
var jqTable = $('#example2', ui.panel);
if ( jqTable.length > 0 ) {
var oTableTools = TableTools.fnGetInstance( jqTable[0] );
if ( oTableTools != null && oTableTools.fnResizeRequired() )
{
/* A resize of TableTools' buttons and DataTables' columns is only required on the
* first visible draw of the table
*/
jqTable.dataTable().fnAdjustColumnSizing();
oTableTools.fnResizeButtons();
}
}
}
});
$('#example2').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "${swfPath}"
}
});
});
[/code]