Wrong button assignment in TableTools
Wrong button assignment in TableTools
trblft
Posts: 2Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
[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.