expandCol = g.autoExpandColumn,
gv = this;
//c.beginMeasure();
- Roo.log('calling layout????');
- Roo.log(g);
- Roo.log(expandCol);
+
if(!c.dom.offsetWidth){ // display:none?
if(initialRender){
this.lockedWrap.show();
if(is2ndPass !== true && !gv.userResized && expandCol){
// high speed resize without full column calculation
- Roo.log('in????');
+
var ci = cm.getIndexById(expandCol);
if (ci < 0) {
ci = cm.findColumnIndex(expandCol);
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");