DataTables + TableTools

DataTables + TableTools

shikidashikida Posts: 2Questions: 0Answers: 0
edited July 2013 in TableTools
Hi

I can make DataTables work but not TableTools.

No error message, no javascript error, I have no idea where the problem is

Here's a snippet of the CSS and JS declaration

[code]













function initTable(tableHeader){
var cols = eval(tableHeader);
$('#demo_jui').html( '' );
$('#tid').dataTable( {
"bServerSide" : true,
"bFilter": true,
"sAjaxSource" : "${pageContext.request.contextPath}/TableDataServlet",
"bProcessing" : true,
"sPaginationType" : "full_numbers",
"bJQueryUI" : true,
"aoColumns" : cols,
"oTableTools": {
"sSwfPath": "TableTools-2.1.5/media/swf/copy_csv_xls_pdf.swf"
}
} );
}
[/code]
any ideas?

already tried using absolute URLs in both sSwfPath at dataTable constructor and in TableTools constants without success.

TIA

Leo

Replies

  • shikidashikida Posts: 2Questions: 0Answers: 0
    found it.

    missing the

    "sDom": 'T<"clear">lfrtip',
This discussion has been closed.