Some extra resize bits to make sure everything gets resized:

- Resize the grid (resizes the column headers)
- Re-initialize the dynheight, just in case something changed
This commit is contained in:
Nathan Gray 2013-10-10 12:25:29 +00:00
parent 09693fc761
commit eda4d2a3f6

View File

@ -912,7 +912,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
_grid.colData);
}
}
this.resize();
this.dataview.table.resize();
},
_getSubgrid: function (_row, _data, _controller) {
@ -1243,6 +1243,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
$j(template.getDOMNode()).on("load",
jQuery.proxy(function() {
parse.call(this, template);
this.dynheight.initialized = false;
this.resize();
}, this)
);