From 8eb1e9ca0f8dca13acea55f9775567a586d5d165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Dec 2022 00:42:52 +0100 Subject: [PATCH] Prepend tfoot before thead The dropdown from thead must be above the tfoot. issue11920 review443971003 --- src/view/tree.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/view/tree.js b/src/view/tree.js index 56d55e9890..fd1a27b058 100644 --- a/src/view/tree.js +++ b/src/view/tree.js @@ -200,7 +200,8 @@ sum_row.append(jQuery('')); this.tfoot = jQuery(''); this.tfoot.append(sum_row); - this.table.append(this.tfoot); + // insert before thead to not hide drop-down from thead + this.table.prepend(this.tfoot); } if (this.children_field) {