projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b7cf3
)
Roo/grid/GridView.js
author
edward
<edward@roojs.com>
Thu, 19 May 2016 05:23:48 +0000
(13:23 +0800)
committer
edward
<edward@roojs.com>
Thu, 19 May 2016 05:23:48 +0000
(13:23 +0800)
Roo/grid/GridView.js
patch
|
blob
|
history
diff --git
a/Roo/grid/GridView.js
b/Roo/grid/GridView.js
index
c350b3b
..
8fb4cd0
100644
(file)
--- 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");