changeset 9d55d1e3f93b in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=9d55d1e3f93b
description:
Add header in table foot for optional column
issue11631
review425501003
diffstat:
src/view/tree.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 250234611f0d -r 9d55d1e3f93b src/view/tree.js
--- a/src/view/tree.js Sun Aug 07 23:41:09 2022 +0200
+++ b/src/view/tree.js Mon Aug 08 22:20:36 2022 +0200
@@ -287,6 +287,9 @@
'class': 'optional',
});
this.thead.children().prepend(th);
+ if (this.tfoot) {
+ this.tfoot.children().prepend(jQuery('<th/>'));
+ }
}
var menu = jQuery('<ul/>', {
'class': 'dropdown-menu',