fix: remove confix scrollX datatable
parent
ae227162e7
commit
1fd7448921
|
|
@ -65,11 +65,7 @@
|
|||
// Datatable setup
|
||||
var tableLokasi = new DataTable('#tableLokasi', {
|
||||
ajax: '@Url.Action("TableLokasi", "ProfilRw")',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'usulan' },
|
||||
|
|
@ -125,11 +121,7 @@
|
|||
// Datatable Surat Usulan
|
||||
var tableSuratUsulan = new DataTable('#tableSuratUsulan', {
|
||||
ajax: '@Url.Action("TableSuratUsulan", "ProfilRw")',
|
||||
scrollX: true,
|
||||
autoWidth: false,
|
||||
initComplete: function () {
|
||||
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
||||
},
|
||||
columns: [
|
||||
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
||||
{ data: 'nama_surat' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue