- var index = this.hdIndex;\r
- var vw = this.view, cs = vw.columns, len = cs.length;\r
- var w = this.view.innerHd.getWidth(), minPct = this.minPct * 100;\r
-\r
- var pct = Math.ceil((nw*100) / w);\r
- var diff = cs[index].width - pct;\r
- var each = Math.floor(diff / (len-1-index));\r
- var mod = diff - (each * (len-1-index));\r
+ var index = this.hdIndex,\r
+ vw = this.view,\r
+ cs = vw.columns,\r
+ len = cs.length,\r
+ w = this.view.innerHd.getWidth(),\r
+ minPct = this.minPct * 100,\r
+ pct = Math.ceil((nw * vw.maxWidth) / w),\r
+ diff = (cs[index].width * 100) - pct,\r
+ each = Math.floor(diff / (len-1-index)),\r
+ mod = diff - (each * (len-1-index));\r