datatables.net locale fr

This commit is contained in:
Fred Tempez 2023-12-03 19:55:16 +01:00
parent f2f291dbbc
commit 069410ab22
6 changed files with 8 additions and 3 deletions

View File

@ -26,6 +26,7 @@ $(document).ready(function () {
language: { language: {
url: "core/vendor/datatables/french.json" url: "core/vendor/datatables/french.json"
}, },
locale: 'fr',
"columnDefs": [ "columnDefs": [
{ {
target: 3, target: 3,

View File

@ -16,6 +16,7 @@ $(document).ready((function () {
language: { language: {
url: "core/vendor/datatables/french.json" url: "core/vendor/datatables/french.json"
}, },
locale: 'fr',
searching: false, searching: false,
pageLength: 100, pageLength: 100,
lengthChange: false, lengthChange: false,

View File

@ -26,6 +26,7 @@ $(document).ready((function () {
language: { language: {
url: "core/vendor/datatables/french.json" url: "core/vendor/datatables/french.json"
}, },
locale: 'fr',
"columnDefs": [ "columnDefs": [
{ {
target: 5, target: 5,

View File

@ -31,6 +31,7 @@ $(document).ready((function () {
language: { language: {
url: "core/vendor/datatables/french.json" url: "core/vendor/datatables/french.json"
}, },
locale: 'fr',
"columnDefs": [ "columnDefs": [
{ {
target: 0, target: 0,

View File

@ -31,6 +31,7 @@ $(document).ready((function () {
language: { language: {
url: "core/vendor/datatables/french.json" url: "core/vendor/datatables/french.json"
}, },
locale: 'fr',
"columnDefs": [ "columnDefs": [
{ {
target: 0, target: 0,

View File

@ -25,8 +25,8 @@ $(document).ready((function () {
$('#dataTables').DataTable({ $('#dataTables').DataTable({
language: { language: {
url: "core/vendor/datatables/french.json", url: "core/vendor/datatables/french.json"
"paging": false },
} locale: 'fr'
}); });
})); }));