Skip to content

Commit

Permalink
Update inspectionslist.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed May 29, 2024
1 parent ec9a8c1 commit ae20cad
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions application/views/inspectionslist.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@
// This arrangement can be altered based on how we want the date's format to appear.
let currentDate = day + '-' + month + '-' + year+'_'+ hr + mint + scn;
new DataTable('#inspectlist', {
responsive: true,
columnDefs: [
{targets: [5,7], visible: false},
{searchable: false, orderable: false, targets: [8,9,10] },
{targets: 1, render: DataTable.render.date('YYYY-MM-DD', 'DD-MM-YYYY', 'el')}

],
responsive: true,
layout: {
topStart: {
buttons: [{
Expand All @@ -106,13 +112,7 @@ className: 'btn btn-success',
url: "//cdn.datatables.net/plug-ins/1.10.19/i18n/"+ ulang +".json"
},
stateSave: true,
columnDefs: [
{visible: false, target: [5,7] },
{searchable: false, orderable: false, targets: [8,9,10] },
{targets: 1, render: DataTable.render.date('YYYY-MM-DD', 'DD-MM-YYYY', 'el')}

],
lengthMenu: [ 25, 50, 100 ]
lengthMenu: [ 25, 50, 100 ]
});

$(document).ready(function() {
Expand Down

0 comments on commit ae20cad

Please sign in to comment.