Author: maksimkaszynski
Date: 2007-07-31 08:57:59 -0400 (Tue, 31 Jul 2007)
New Revision: 1948
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Grid.js
Log:
http://jira.jboss.com/jira/browse/RF-359
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Grid.js
===================================================================
---
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Grid.js 2007-07-31
12:22:59 UTC (rev 1947)
+++
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Grid.js 2007-07-31
12:57:59 UTC (rev 1948)
@@ -91,6 +91,11 @@
this.currentScrollPos = 0;
this.controlCreated = true;
this.updateLayout();
+
+ if (ClientUILib.isIE && !ClientUILib.isIE7) {
+ var grid = this;
+ setTimeout(function() {grid.updateLayout()}, 50);
+ }
},
updateLayout: function() {
if(!this.controlCreated || this.getHeight()==0) {