Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(document).ready(function() {
- let table_fornitori = $('table#lista_fornitori').DataTable( {
- "dom": "ftp",
- "responsive": true,
- "columnDefs": [
- { responsivePriority: 1, targets: 1 }
- ],
- "order": [
- 1,
- "asc"
- ],
- "pageLength" : 5,
- "columns": [
- null,
- null,
- null
- ],
- "language": {
- "sEmptyTable": "Non sono stati inseriti fornitori",
- "sInfo": "Stai visualizzando dal _START_' al _END_' di _TOTAL_ fornitori",
- "sInfoEmpty": "Non sono stati inseriti fornitori",
- "sInfoPostFix": "",
- "sInfoThousands": ".",
- "sLoadingRecords": "Caricamento...",
- "sProcessing": "Elaborazione...",
- "sSearch": "Cerca in questa lista:",
- "sZeroRecords": "La ricerca non ha portato alcun risultato.",
- "oPaginate": {
- "sFirst": "Inizio",
- "sPrevious": "Precedente",
- "sNext": "Successivo",
- "sLast": "Fine"
- }
- },
- "drawCallback": function( settings ) {
- $('[data-bs-toggle="tooltip"]').tooltip();
- $('div#overlay').remove();
- }
- });
- new $.fn.dataTable.FixedHeader(table_fornitori);
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement