Author: dmorozov
Date: 2007-06-19 02:52:38 -0400 (Tue, 19 Jun 2007)
New Revision: 1215
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridHeader.js
Log:
Fix bug with different header height for frozen and normal pats
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridHeader.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-06-18
22:58:52 UTC (rev 1214)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-06-19
06:52:38 UTC (rev 1215)
@@ -287,11 +287,13 @@
var frozenContentWidth = this.grid.getColumnsFrozenWidth();
this.contentBox.setWidth(Math.max(this.getWidth(), totalWidth));
- this.contentBox.setHeight(height);
+ this.contentBox.setHeight(height);
this.contentBox.moveTo(frozenContentWidth - this.grid.getScrollOffset(), 0);
+ this.headerRow.setHeight(height);
this.frozenContentBox.setWidth(frozenContentWidth);
this.frozenContentBox.setHeight(height);
this.frozenContentBox.moveTo(0, 0);
+ this.headerFrozenRow.setHeight(height);
if(ClientUILib.isIE)
this.frozenSubstrate.setWidth(frozenContentWidth);
},
Show replies by date