From a7838d621fed07f1d7be6bf273f92ac6b646bfc2 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 17 Mar 2025 10:25:42 -0500 Subject: Remove scroller @acenteno insists on having paging with ability to display everything on a single page. --- uploader/static/js/datatables.js | 6 ------ uploader/templates/phenotypes/view-dataset.html | 1 - 2 files changed, 7 deletions(-) (limited to 'uploader') diff --git a/uploader/static/js/datatables.js b/uploader/static/js/datatables.js index a72245c..82fd696 100644 --- a/uploader/static/js/datatables.js +++ b/uploader/static/js/datatables.js @@ -28,12 +28,6 @@ var buildDataTable = (tableId, data = [], columns = [], userSettings = {}) => { bottomEnd: null, }, select: true, - /* == Scroller settings == */ - scroller: true, - paging: true, // MUST be true for scroller to work - scrollY: "750px", - deferRender: true, - /* == END: Scroller settings == */ lengthMenu: defaultLengthMenu(data), language: { processing: "Processing… Please wait.", diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html index 6b35f6a..f8c0790 100644 --- a/uploader/templates/phenotypes/view-dataset.html +++ b/uploader/templates/phenotypes/view-dataset.html @@ -127,7 +127,6 @@ ], { select: "multi+shift", - scrollY: "1000px", layout: { top1: "search", topStart: { -- cgit v1.2.3