Wrong button assignment in TableTools

Wrong button assignment in TableTools

trblfttrblft Posts: 2Questions: 0Answers: 0
edited October 2013 in TableTools
Hi,
I feel I'm very close to get it working, but something strange here, I get TableTools working but only the print button work and the "copy" button saves a PDF, how is that possible?
The code is as follows :
$('#QueryResultTable').dataTable({
"bJQueryUI": true,
"bDestroy": true,
"sPaginationType": "full_numbers",
"sDom": '<"H"Tfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "/static/js/dataTables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
}
});
I use the Twitter JqueryUI bootstrap and hope it has nothing to do with this... Thanks for your help and for this great plugin, to me the best JqueryUI plugin ever.

Replies

  • trblfttrblft Posts: 2Questions: 0Answers: 0
    Ho and I forgot i also tried this code :
    [code]$(document).ready(function(){
    $('#QueryResultTable').dataTable({
    "bJQueryUI": true,
    "bDestroy": true,
    "sPaginationType": "full_numbers",
    "sDom": '<"H"Tfr>t<"F"ip>',
    "oTableTools": {
    "sSwfPath": "/static/js/dataTables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
    }
    });
    });[/code]
    Buttons all appear, table appears and is working, same as above. I get no error message.
This discussion has been closed.