Buttons not visible

Buttons not visible

DennisBeeeeDennisBeeee Posts: 1Questions: 1Answers: 0

https://debug.datatables.net/ujesar

As soon as I change the language to German, the buttons are no longer displayed. Does something have to be changed if you want to use the German language and buttons at the same time?

LibraryInfoInstalledLatest
DataTablesUp to date1.10.241.10.24
ButtonsUp to date1.7.01.7.0
ResponsiveUp to date2.2.72.2.7

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • BalkothBalkoth Posts: 21Questions: 1Answers: 0

    Hijacking this, because i also can not get it to work. It is the most basic sample with just dom and buttons option added:

    http://live.datatables.net/muleyehi/1/

    The buttons do not show up.

  • kthorngrenkthorngren Posts: 21,321Questions: 26Answers: 4,948

    @Balkoth You aren't loading everything needed to show the buttons you want; Open the CDN in a browser and you will see this at the top:

     * To rebuild or modify this file with the latest versions of the included
     * software please visit:
     *   https://datatables.net/download/#dt/jq-3.6.0/dt-1.11.2/b-2.0.0
     *
     * Included libraries:
     *  jQuery 3.6.0, DataTables 1.11.2, Buttons 2.0.0
    

    Go to the link presented to see the options selected:

    You are trying to display these buttons:

            buttons: [
              'colvis',
              'excel',
              'print'
            ]
    

    You need to select Column visibility, JSZip (for excel) and Print view for these buttons.

    Kevin

  • BalkothBalkoth Posts: 21Questions: 1Answers: 0

    OMG i'm stupid sorry. I thought that these commands would just setup buttons labled like this. There is a whole section about custom commands in the docs...

Sign In or Register to comment.