Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82439

Data Table Print Button

$
0
0

My JS is here:


$(document).ready(function () { $("#GridViewReport").prepend($("<thead></thead>").append($("#GridViewReport").find("tr:first"))).dataTable({ "paging": true, "ordering": true, "order": [[7, "desc"]], "lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], buttons: [ 'print' ] }); });

I am not getting any errors in my console, but the print button is still missing on my page!


Viewing all articles
Browse latest Browse all 82439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>