Button Pdf Export not working

Button Pdf Export not working

willianiwilliani Posts: 2Questions: 0Answers: 0

Hi,

I had downloaded your latest dataTables package but I have an issue with PDF export button. Other buttons works fine except that whenever I click "PDF", the popup window opened but doesn't show "Save as type" as .pdf extension, instead it shows "All Files". Excel and CSV will automatically save it as xlsx and csv.. It works fine if I type the filename with .pdf behind it and it will save as pdf.

$(document).ready(function() {
    $('#example').DataTable( {
        dom: 'lBfrtip',
         buttons: [
            'copy',
            'excel',
            'pdf'
        ]
    } );
} );

Replies

  • willianiwilliani Posts: 2Questions: 0Answers: 0

    Hi, I suspect the problem lies in flashExport.swf file... Please reply..

This discussion has been closed.