No Select on SearchPanes, when loadling language.json thru url

No Select on SearchPanes, when loadling language.json thru url

edgarjungedgarjung Posts: 1Questions: 1Answers: 0
edited January 2022 in SearchPanes

see test:

When adding

                language: {
                    url:  ""

to a SearchPanes Table, it is not possible to click the filter values. Removing the URL or even putting the json String inside language solves the problem as workaround.


$(document).ready( function () {
            table = $('#example').DataTable({
                dom: 'Pfrtip',
                language: {
                    url:  ""
} );

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

This question has an accepted answers - jump to answer


  • colincolin Posts: 15,141Questions: 1Answers: 2,586

    Yep, something odd going on there. I've tried initialising SearchPanes within initComplete as well, but no joy there either.

    I've raised it internally (DD-2442 for my reference) and we'll report back here when there's an update.



  • sandysandy Posts: 913Questions: 0Answers: 236
    Answer ✓

    Hi @edgarjung ,

    Thanks for pointing this out. That should be the issue fixed now as you can see at this example.

    This will be available in the next SearchPanes release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.


  • rsalbrsalb Posts: 1Questions: 0Answers: 0

    here is another problem related to the translation.
    The number of hits isn't displayed in the panes.


  • colincolin Posts: 15,141Questions: 1Answers: 2,586

    That's a problem with the German string for

                      searchPanes: {
                        count: ' {total}'

    It currently has {Anzahl} - I've updated the translation and that will make it to the file in the next release. In the meantime you could just host the file locally and make that change.


Sign In or Register to comment.