How can I resolve the conflict between "language" and "buttons"?
How can I resolve the conflict between "language" and "buttons"?
![lincolncartaxo](https://secure.gravatar.com/avatar/7e629d621fba97f0f76c52fa2e589631/?default=https%3A%2F%2Fvanillicon.com%2F7e629d621fba97f0f76c52fa2e589631_200.png&rating=g&size=120)
<script>
$(document).ready( function () {
$('#datatable').DataTable({
"language": {"url": "//cdn.datatables.net/plug-ins/1.13.6/i18n/pt-BR.json"},
"buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
}).buttons().container().appendTo(' #datatable_wrapper .col-md-6:eq(0)');
} );
</script>
This question has an accepted answers - jump to answer
Answers
Please can you provide more information on the issue you want support with - for example, what kind of conflict are you seeing?
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
I can actually what the issue is - per
language.url
:So you need to do:
With DataTables 2 you'll be able to do:
Allan
Thank you so much!