Export button pdf and excel do not show on Mac

Export button pdf and excel do not show on Mac

WefaWefa Posts: 7Questions: 3Answers: 0
edited September 2017 in Free community support

In the project I'm working on, Datatable export button (pdf & excel) works fine on Chrome but when I use Safari the two buttons don't show at all.
Is there a solution to fix the problem ?

This question has accepted answers - jump to:

Answers

  • kthorngrenkthorngren Posts: 21,304Questions: 26Answers: 4,947
    Answer ✓

    They show fine for me using Safari when opening this example:
    https://datatables.net/extensions/buttons/examples/initialisation/simple.html

    Does the example work for you?

    What buttons version are you using?

    Are you loading the Datatables buttons.html5.js include file?

    Kevin

  • WefaWefa Posts: 7Questions: 3Answers: 0

    Even for that page only print and copy button are shown.
    Does safari not support button.html5.js?
    I use 1.4.2 version for buttons
    For Safari I have 5.1.7 version

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin
    edited September 2017 Answer ✓

    That's a very old version of Safari. No - it isn't supported as it doesn't implement the APIs needed to generate and download a file on the client-side. See the excelHtml5 documentation.

    Allan

  • WefaWefa Posts: 7Questions: 3Answers: 0

    Thanks for your answer, it really helped

This discussion has been closed.