If there are more than 10 columns the jquery function of export to excel/pdf doesnt work
If there are more than 10 columns the jquery function of export to excel/pdf doesnt work
moimran
Posts: 1Questions: 1Answers: 0
$(document).ready(function() {
$('#example').DataTable({
"lengthMenu": [ 50 ],
"lengthChange": false,
dom: 'Bfrtip',
buttons: [
'excel', 'pdf', 'print'
]
});
} );
Answers
Datatables doesn't limit the number of columns that can be exported. The problem is specific to your page. Please post a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Do you get errors in the browser's console when exporting?
Kevin