Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35285

How do I combine these two functions in Datatables and Table Tools to merge?

$
0
0

$(document).ready( function() { $('#example').dataTable( { "lengthMenu": [[10, 25, 50, 100, 250, 500, 1000, -1], [10, 25, 50, 100, 250, 500, 1000, "All"]] } ); } );

$(document).ready(function() { $('#example').DataTable( { dom: 'T<"clear">lfrtip', tableTools: { "aButtons": [ "copy", "csv", "xls", { "sExtends": "pdf", "sPdfOrientation": "landscape", "sPdfMessage": "Input message here" }, "print" ] } } ); } );


Viewing all articles
Browse latest Browse all 35285

Trending Articles