tabletools exports

tabletools exports

banditobandito Posts: 2Questions: 0Answers: 0
edited February 2014 in TableTools
hi, i'm new in programming and i have a tabletools question.
After searching for a value i was able to print correctly only the results records of the search, but clicking on copy, xls, pdf or csv buttons i have the exports of all records in the table.
here is my code:
$(document).ready( function () {
$('#reports_data').dataTable( {
"oTableTools": {
"aButtons": [ "print", "copy" ],
"sSwfPath": "/media/swf/copy_csv_xls_pdf.swf"
},
"bStateSave": true,
"sPaginationType": "full_numbers",
"sDom": 'T<"clear">lfrtip',


} );
} );

Replies

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    http://datatables.net/forums/discussion/19580/tabletools-copying-all-rows-not-just-filtered
This discussion has been closed.