Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit 8eb1e9c

Browse files
committed
Prepend tfoot before thead
The dropdown from thead must be above the tfoot. issue11920 review443971003
1 parent af5bdbd commit 8eb1e9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/view/tree.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@
200200
sum_row.append(jQuery('<th/>'));
201201
this.tfoot = jQuery('<tfoot/>');
202202
this.tfoot.append(sum_row);
203-
this.table.append(this.tfoot);
203+
// insert before thead to not hide drop-down from thead
204+
this.table.prepend(this.tfoot);
204205
}
205206

206207
if (this.children_field) {

0 commit comments

Comments
 (0)