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) {