Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82449

How can I set a language file as default?

$
0
0

Actually I tried this, but it doesn't work:

    $.extend($.fn.dataTable.defaults, {
        language: { url: "/Scripts/dataTables.german.json" }
    });

It does not even make an call to the file when building the table. If I set the file the same way during initialization of a certain table, it works. But it would be much more convenient, if I could set it as default.


Viewing all articles
Browse latest Browse all 82449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>