añadido orden multipla maquinaspapelesimpresion

This commit is contained in:
Jaime Jimenez
2023-09-25 18:07:07 +02:00
parent 011ecca043
commit 834ba3488d
4 changed files with 26 additions and 18 deletions

View File

@ -478,13 +478,14 @@
processing: true,
autoWidth: true,
responsive: true,
lengthMenu: [ 5, 10, 25],
lengthMenu: [ 5, 10, 25, 50, 75, 100, 250],
order: [[ 1, "asc" ]],
pageLength: 10,
pageLength: 25,
lengthChange: true,
searching: true,
paging: true,
info: true,
stateSave: true,
dom: "lftp",
ajax : $.fn.dataTable.pipeline( {
url: '<?= route_to('dataTableOfMaquinasPapelesImpresion') ?>',
@ -521,8 +522,11 @@
columnDefs: [
{
orderable: false,
searchable: false,
targets: [lastColNr2]
},
{
searchable: false,
targets: [0,3,4,5,6,7,8,lastColNr2]
}
],
rowCallback: function (row, data) {
@ -531,13 +535,7 @@
},
language: {
url: "//cdn.datatables.net/plug-ins/1.13.4/i18n/<?= config('Basics')->i18n ?>.json"
},
columnDefs: [
{
searchable: false,
targets: [0,3,4,5,6,7,8]
}
],
}
} );