Author: konstantin.mishin
Date: 2007-10-11 14:41:20 -0400 (Thu, 11 Oct 2007)
New Revision: 3334
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
Log:
RF-1077
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
---
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-10-11
16:30:26 UTC (rev 3333)
+++
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-10-11
18:41:20 UTC (rev 3334)
@@ -160,6 +160,7 @@
this.fTable = $(gridId + ":f")
this.nTable = $(gridId + ":n")
this.controlCreated = true;
+ this.sizeBox.setHeight(this.templNormal.getElement().offsetHeight);
},
parseTemplate: function(templFrozen, templNormal) {
if(!templNormal || !templNormal.rows || templNormal.rows.length===0) {
@@ -241,7 +242,6 @@
this.contentBox.moveTo(frozenContentWidth, 0);
this.sizeBox.moveTo(0, 0);
this.sizeBox.setWidth(totalWidth);
- this.sizeBox.setHeight(this.templNormal.getElement().offsetHeight);
this.scrollBox.setWidth(this.getWidth()+1);
this.scrollBox.setHeight(this.getHeight()+1);