From: edward Date: Thu, 19 May 2016 05:23:48 +0000 (+0800) Subject: Roo/grid/GridView.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=23a03d6cee4eea94128a3a7ec0f2cfe03157e881;p=roojs1 Roo/grid/GridView.js --- diff --git a/Roo/grid/GridView.js b/Roo/grid/GridView.js index c350b3bda1..8fb4cd0ba3 100644 --- a/Roo/grid/GridView.js +++ b/Roo/grid/GridView.js @@ -1675,6 +1675,7 @@ Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, { var tw = cm.getTotalWidth(false); var currentWidth = cm.getColumnWidth(ci); var cw = Math.min(Math.max(((w-tw)+currentWidth-2)-/*scrollbar*/(w <= s.dom.offsetWidth ? 0 : 18), g.autoExpandMin), g.autoExpandMax); + Roo.log([currentWidth, cw]); if(currentWidth != cw){ cm.setColumnWidth(ci, cw, true); gv.css.updateRule(gv.colSelector+gv.idToCssName(expandId), "width", (cw - gv.borderWidth) + "px");