Tabletools not working when placed on the second tab of Jquery tabs..

Tabletools not working when placed on the second tab of Jquery tabs..

cloudnixcloudnix Posts: 15Questions: 0Answers: 0
edited March 2012 in TableTools
I have my DataTable places inside the second tab and it's not working.. But when i place the DataTable on the first tab, the save to pdf works..
What could be the problem?? Help me please..

Replies

  • allanallan Posts: 61,864Questions: 1Answers: 10,136 Site admin
    Please see this thread: http://www.datatables.net/forums/discussion/5859/tabletool-problem-when-hiding-datatable_wrapper/p1

    Allan
  • cloudnixcloudnix Posts: 15Questions: 0Answers: 0
    I try to add those two functions, but still it didn't work.. the same thing happens, the page just reload..
    I wonder if i have a mistake with with my codes.. and also my tools buttons are just text without the pdf file image etc..
    here is the initialization of my datatable:

    [code]

    var oTblSales = $('#tblSales').dataTable({
    "bPaginate": true,
    "bJQueryUI": true,
    "sScrollX": "500",
    "sDom": 'T<"clear">C<"clear"><"H"lfr>tip',
    "oTableTools": {
    "sSwfPath": "../DataTables/extras/TableTools/media/swf/copy_cvs_xls_pdf.swf",
    "aButtons": [
    {"sExtends": "xls" },
    {"sExtends": "pdf", "sPdfOrientation": "landscape",
    "sPdfMessage": "Colombo Merchant Philppines - Sales"
    }
    ]
    }
    });

    [/code]

    thank you for your response..
This discussion has been closed.