Print screen or multiple tables with single button
Print screen or multiple tables with single button
I have a page with 2 datatables from different (ajax) data sources which i use with a filter to display income and refund summary information on a single page.
Is it possible to print the screen content or send the page content of both tables to pdf with a single button click ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Not with the pre-built buttons which operate on a single table only. However, it would be quite possible to create a custom button which does what you require.
Allan
hey bro, when you print yours dataTAble , it manteins the align? , i have a problem with that
As a quick fix, i just rigged up a print button to print the div which contained both tables
@jfri_2007 - No - Printing does not maintain the classes from the original table because of poor performance. You would need to use the customise the print view if you want that - example.
Allan
ty allan i solved it!