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

TableTools PDF export with hidden columns

$
0
0
Hello.

I have noticed an issue using TableTools. When using hidden columns, PDF is generated wrongly.

To reproduce problem:
1) Go to http://datatables.net/extras/tabletools/
2) Execute in browser's console the code:
var oTable = $('#example').dataTable();
oTable.fnSetColumnVis(2, false ); // example columns
oTable.fnSetColumnVis(3, false );
3) Export to PDF.

In the end in PDF file we have text placed over another text. Is there any way to export visible data only, or send to our PDF generator real number of columns in the table? How can I do that?

Thank you,
Szymon

Viewing all articles
Browse latest Browse all 82147

Trending Articles



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