Hello Excuse me, I made the language of the table Persian, but the print and copy buttons and ... Ar

Hello Excuse me, I made the language of the table Persian, but the print and copy buttons and ... Ar

Mohammadq80Mohammadq80 Posts: 6Questions: 4Answers: 0
edited February 2021 in Free community support

Hello
Excuse me, I made the language of the table Persian, but the print and copy buttons and ...
Are not displayed Where is the problem?

Answers

  • kthorngrenkthorngren Posts: 21,174Questions: 26Answers: 4,923

    You need to add the code to display the buttons. See the Buttons docs and examples. You can download the buttons code using the Download Builder.

    Kevin

  • Mohammadq80Mohammadq80 Posts: 6Questions: 4Answers: 0

    Although I used this code, it still does not show

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    The most simple example
    https://datatables.net/extensions/buttons/examples/initialisation/simple.html
    says this:

    In addition to the above code, the following Javascript library files are loaded for use in this example:
    
    https://code.jquery.com/jquery-3.5.1.js
    https://cdn.datatables.net/1.10.23/js/jquery.dataTables.min.js
    https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js
    https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js
    https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js
    https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js
    https://cdn.datatables.net/buttons/1.6.5/js/buttons.html5.min.js
    https://cdn.datatables.net/buttons/1.6.5/js/buttons.print.min.js
    

    Did you follow that?
    Did you use the Download Builder, as @kthorngren advised?

This discussion has been closed.