From 04d0bfe5b15076566fbfcb3582038b7c722c8ddf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 4 Jan 2021 14:41:59 +0800 Subject: [PATCH] sync --- Roo/bootstrap/Table.js | 3 ++- docs/src/Roo_bootstrap_Table.js.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index 91297ca7aa..5dc5426c6c 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -1093,6 +1093,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { var tfd = this.getGridEl().select('tfoot', true).first(); var cw = ctr.getWidth(); + this.getGridEl().select('tfoot tr, tfoot td',true).setWidth(cw); if (tbd) { @@ -1107,7 +1108,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { } cw = Math.max(cw, this.totalWidth); this.getGridEl().select('tbody tr',true).setWidth(cw); - this.getGridEl().select('tfoot tr, tfoot td',true).setWidth(cw); + // resize 'expandable coloumn? return; // we doe not have a view in this design.. diff --git a/docs/src/Roo_bootstrap_Table.js.html b/docs/src/Roo_bootstrap_Table.js.html index 0940c14625..434a26f8aa 100644 --- a/docs/src/Roo_bootstrap_Table.js.html +++ b/docs/src/Roo_bootstrap_Table.js.html @@ -1106,7 +1106,8 @@ cw -= barsize; } cw = Math.max(cw, this.totalWidth); - this.getGridEl().select('tr',true).setWidth(cw); + this.getGridEl().select('tbody tr',true).setWidth(cw); + this.getGridEl().select('tfoot tr, tfoot td',true).setWidth(cw); // resize 'expandable coloumn? return; // we doe not have a view in this design.. -- 2.39.2