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

Hide controls like "buttons", "pageLength", ... when printing web page

$
0
0

Link to test case: https://live.datatables.net/janodapo/1/edit
Debugger code (debug.datatables.net): NA
Error messages shown: NA
Description of problem: Hello,

I would like to know if there is a way to hide controls like "buttons", "pageLength", "search", ... (see controls in red square) when printing the entire web page?

I know that the "Print" button is made to print the Datatable but in this case I am talking about the entire web page.

I looked at the code but didn't see a class I could use in css with "@media print" to hide the controls.

Thanks in advance for your help and have a nice day.


Viewing all articles
Browse latest Browse all 82263

Trending Articles



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