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

dataTable how I can hide the title and date when pring?

$
0
0

Hi All,

I want to hide the website title tag and date when print.

Also, I want to add some text above the table. Like: 'Debtors Report'

How I can achieve this. Please help me!!!

I have tried below code for print the table:

$('#printData').DataTable({
  dom: 'Bfrtip',
  buttons: [
            {
                extend: 'print',
            }
    ]

});`

Thanks in advance!!!


Viewing all articles
Browse latest Browse all 82782

Trending Articles



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