From 9d5ad5b4ff4a5eb9fdecf7e6778e4c03a47f58c6 Mon Sep 17 00:00:00 2001 From: Dmytro Trotsko Date: Tue, 24 Dec 2024 01:46:56 +0200 Subject: [PATCH] Changed table view. Added column hide option --- src/assets/css/style.css | 9 +++++++++ src/templates/signal_sets/signal_sets.html | 20 +++++++++++++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 45b07af..0e905aa 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -1386,3 +1386,12 @@ h6 { .form-check > label.form-check-label { display: block!important; /* Ensure the label takes up the full width */ } + +.min-w-300 { + content: ''; + min-width: 300px; +} + +div.dt-button-collection { + width: 265px!important; +} \ No newline at end of file diff --git a/src/templates/signal_sets/signal_sets.html b/src/templates/signal_sets/signal_sets.html index 23a7e60..68aa4d8 100644 --- a/src/templates/signal_sets/signal_sets.html +++ b/src/templates/signal_sets/signal_sets.html @@ -240,8 +240,8 @@

-
- +
+
@@ -260,9 +260,9 @@

- + - + @@ -537,12 +537,22 @@

paging: false, scrollCollapse: true, scrollX: true, - scrollY: 600, + scrollY: 550, fixedColumns: { left: 2 }, ordering: false, mark: true, + layout: { + topStart: { + buttons: [ + { + extend: 'colvis', + columns: 'th:nth-child(n+3)' + } + ] + } + }, language: { "info": "Showing _TOTAL_ / _MAX_ Signal Sets", "infoEmpty": "",

Demographic Granularity Severity Pyramid Rung(s) Data SourcePre-processingPre-processing CensoringMissingnessMissingness DUA required License Documentation