From da23ab2e75277a441c0d33f60cf41dffcd4446c6 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 (grafted from 8006a6158ec2859ba99fc18a1997f729ab1121a4) --HG-- branch : 6.0 --- sao/src/view/tree.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sao/src/view/tree.js b/sao/src/view/tree.js index b0cea1da1a..604f455717 100644 --- a/sao/src/view/tree.js +++ b/sao/src/view/tree.js @@ -199,7 +199,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); } this.columns.forEach(function(column) {