From 863800e0b3ae37db532e4192715f4f9dba4fe8f0 Mon Sep 17 00:00:00 2001 From: Gunther Weissenbaeck Date: Thu, 23 Nov 2023 21:29:54 +0100 Subject: [PATCH] no autowidth on large tables --- app/aviary/templates/aviary/aviary_all.html | 3 ++- app/bird/templates/bird/bird_all.html | 1 + app/bird/templates/bird/bird_inactive.html | 1 + app/costs/templates/costs/costs_all.html | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/aviary/templates/aviary/aviary_all.html b/app/aviary/templates/aviary/aviary_all.html index 0612fa7..3622635 100644 --- a/app/aviary/templates/aviary/aviary_all.html +++ b/app/aviary/templates/aviary/aviary_all.html @@ -24,6 +24,7 @@ info: true, "pagingType": "first_last_numbers", responsive: true, + autoWidth: false, columnDefs: [ { responsivePriority: 1, targets: 0 }, ] @@ -67,4 +68,4 @@ -{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/app/bird/templates/bird/bird_all.html b/app/bird/templates/bird/bird_all.html index 1d41b22..aa434f1 100644 --- a/app/bird/templates/bird/bird_all.html +++ b/app/bird/templates/bird/bird_all.html @@ -25,6 +25,7 @@ "pagingType": "first_last_numbers", responsive: true, scrollX: true, + autoWidth: false, order: [[2, 'desc']], columnDefs: [ { responsivePriority: 1, targets: 0 }, diff --git a/app/bird/templates/bird/bird_inactive.html b/app/bird/templates/bird/bird_inactive.html index 64e85a1..9c8e7e4 100644 --- a/app/bird/templates/bird/bird_inactive.html +++ b/app/bird/templates/bird/bird_inactive.html @@ -25,6 +25,7 @@ "pagingType": "first_last_numbers", responsive: true, scrollX: true, + autoWidth: false, order: [[2, 'desc']], columnDefs: [ { responsivePriority: 1, targets: 0 }, diff --git a/app/costs/templates/costs/costs_all.html b/app/costs/templates/costs/costs_all.html index afa33e1..06c845c 100644 --- a/app/costs/templates/costs/costs_all.html +++ b/app/costs/templates/costs/costs_all.html @@ -29,6 +29,7 @@ "pagingType": "first_last_numbers", responsive: true, scrollX: true, + autoWidth: false, order: [[2, 'desc']], columnDefs: [ { responsivePriority: 1, targets: 0 },