From 1fd74489212d73d3e38290712ed516107b7eaacd Mon Sep 17 00:00:00 2001 From: Yuri Dimas Date: Mon, 17 Nov 2025 17:03:40 +0700 Subject: [PATCH] fix: remove confix scrollX datatable --- Views/ProfilRw/Index.cshtml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Views/ProfilRw/Index.cshtml b/Views/ProfilRw/Index.cshtml index fef971d..6eb07b2 100644 --- a/Views/ProfilRw/Index.cshtml +++ b/Views/ProfilRw/Index.cshtml @@ -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' },