Advertisement
Bannip73

pengaduan_form

Nov 24th, 2020
565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "use strict";
  2. $(document).ready(function () {
  3.     $("#dt-terlibat").dataTable();
  4.     // $("#table-datatable").dataTable();
  5.     $("#dt-lampiran").dataTable();
  6.  
  7.     dataTable = $('#table-datatable').DataTable({
  8.         language : {
  9.             emptyTable  : "Tidak ada data yang ditemukan",
  10.             lengthMenu  : "Tampil _MENU_ Per Halaman",
  11.             zeroRecords : "Tidak ditemukan - Maaf",
  12.             info        : "Menampilkan halaman _PAGE_ dari _PAGES_",
  13.             infoEmpty   : "Tidak ada catatan yang tersedia",
  14.             infoFiltered: "(disaring dari _MAX_ catatan total)",
  15.             search      : "Cari"
  16.         },
  17.         paginate: {
  18.             Next        : 'Selanjutnya',
  19.             Last        : 'Terakhir',
  20.             First       : 'Pertama',
  21.             Previous    : 'Sebelumnya'
  22.         },
  23.         lengthMenu  : [[25, 50, 75, 100, -1], [25, 50, 75, 100, "Semua"]],
  24.         processing  : true,
  25.         serverSide  : true,
  26.         searching   : true,
  27.         info        : true,
  28.         paging      : true,
  29.         responsive  : true,
  30.         // scrollX     : true,
  31.  
  32.         ajax : {
  33.             url  : base_url + "main/pengaduan/getListsKaryawan",
  34.             type : "POST"
  35.         },
  36.  
  37.         columnDefs : [{
  38.             targets : [0], className : 'text-center', orderable : false
  39.         },{
  40.             targets : [1], className : 'text-center', orderable : false
  41.         },{
  42.             targets : [2], className : 'text-center', orderable : false
  43.         },{
  44.             targets : [3], className : 'text-center', orderable : false
  45.         },{
  46.             targets : [4], className : 'text-center', orderable : false
  47.         },{
  48.             targets : [5], className : 'text-left', orderable : false
  49.         },{
  50.             targets : [6], className : 'text-right', orderable : false
  51.         },{
  52.             targets : [7], className : 'text-center', orderable : false
  53.         },{
  54.             targets : [8], className : 'text-center', orderable : false
  55.         },{
  56.             targets : [-1], orderable : false
  57.         }]
  58.      });
  59.  
  60.  
  61. });
  62.  
  63.  
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement