1.7.03 Datatables.net save state

This commit is contained in:
Fred Tempez 2024-03-12 12:42:29 +01:00
parent 2dd835593a
commit e64e819d48
5 changed files with 6 additions and 1 deletions

View File

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

View File

@ -28,6 +28,7 @@ $(document).ready((function () {
},
order: [[3, 'desc']],
locale: 'fr',
stateSave: true,
"columnDefs": [
{
target: 6,

View File

@ -27,11 +27,12 @@ $(document).ready((function () {
$("#courseUsersAddForm").submit();
});
var table = $('#dataTables').DataTable({
v$('#dataTables').DataTable({ar table =
language: {
url: "core/vendor/datatables/french.json"
},
locale: 'fr',
stateSave: true,
"columnDefs": [
{
target: 0,

View File

@ -19,6 +19,7 @@ $('#dataTables').DataTable({
url: "core/vendor/datatables/french.json",
},
locale: 'fr',
stateSave: true,
"columnDefs": [{
target: 5,
orderable: false,

View File

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