Author: konstantin.mishin
Date: 2007-10-11 15:00:36 -0400 (Thu, 11 Oct 2007)
New Revision: 3335
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
Log:
RF-1077
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-10-11
18:41:20 UTC (rev 3334)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-10-11
19:00:36 UTC (rev 3335)
@@ -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);
Show replies by date