Multiple TableTools not working under Chrome

Multiple TableTools not working under Chrome

hyouhakuhyouhaku Posts: 2Questions: 0Answers: 0
edited December 2012 in TableTools
Hi all, I have 3+ datatables on a single page within tabs (3 shown by default, other 4 hidden and not initialized unless clicked)
Everything works fine in Firefox or IE, however CSV, Excel, PDF and Copy (basically all swf related buttons) are not working under Google Chrome.
Flash player, chrome are all in latest releases.
I have datatable 1.9.4 installed and I have tried both tabletools 2.1.4 and 2.1.5, none of them works under Chrome.
I have done a good amount of research and fnResizeButtons doesn't solve my problem.
Data is sensitive so cannot post debug info here, sorry about that.
Please help.

Replies

  • hyouhakuhyouhaku Posts: 2Questions: 0Answers: 0
    edited December 2012
    [code]
    TableTools.DEFAULTS.aButtons = [
    {
    "sExtends": "collection",
    "sButtonText": "Export",
    "aButtons": [ "csv", "xls", "pdf", "print", {
    "sExtends": "copy",
    "sButtonText": "Copy to clipboard"
    }
    ]
    }
    ];
    TableTools.DEFAULTS.sSwfPath = "js/plugins/table-tools/swf/copy_csv_xls_pdf.swf";
    travelerTable = $('.travelertable').dataTable({
    "sPaginationType": "two_button",
    "bJQueryUI": false,
    "bAutoWidth": false,
    "bLengthChange": false,
    "iDisplayLength": 10,
    "aaSorting": [],
    "bProcessing": true,
    "sDom": 'lfTrtip'
    });[/code]
This discussion has been closed.