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

How to hide a Column when Exporting DataTable into PDF file

$
0
0
Hello All,

I have tried to hide a Column from my Table when Exporting it into PDF file.

Code that below hides the column when pressing PDF Export-button but File Save as Dialog is not open...

How to get that Save as Dialog to work?

Thanks,

Mike

"fnClick": function (nButton, oConfig, oFlash) {
datatable.fnSetColumnVis(7, false);
$('div.dataTables_scrollHead').show();
$(window).keyup(function () {
oTable.fnSetColumnVis(7, true);
});
}

Viewing all articles
Browse latest Browse all 81669

Trending Articles



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