Help with copy_csv_xls_pdf.swf
Help with copy_csv_xls_pdf.swf
![dhyanesh](https://secure.gravatar.com/avatar/0ba9099d7d6f57dcc0816b609ba1abe0/?default=https%3A%2F%2Fvanillicon.com%2F0ba9099d7d6f57dcc0816b609ba1abe0_200.png&rating=g&size=120)
Hello,
I am trying to add copy_csv_xls_pdf to my table but not seeing it activated on the output. Below is how I am initializing my tables:
$(document).ready(function() { $('#dataTables-example').dataTable( { "dom": 'T<"clear">lfrtip', "tableTools": { "sSwfPath": "/scripts/copy_csv_xls_pdf.swf" }, "processing": true, "serverSide": true, "order": [[ 0, "desc" ]], "ajax": "/scripts/server_processing_sample.php" }); });Sample report is located at http://core.nyota.co.tz/rpt-sample.php
Your help will be highly appreciated.
Thank you.
Dhyanesh
This discussion has been closed.
Answers
Hello,
I managed to get the copy_csv_xls_pdf working. Need help to on how can I copy/save/print all records instead of only the records that are displayed on the screen. Below is how I am initializing it:
<
script>
$(document).ready(function() {
$('#dataTables-example').dataTable( {
"processing": true,
"serverSide": true,
"order": [[ 0, "desc" ]],
"ajax": "/scripts/server_processing_sample.php",
Please advice where I am going wrong as print/save is only printing 10 records which are displayed on the page.
Thank you.
Dhyanesh