Author: konstantin.mishin
Date: 2008-08-26 11:11:46 -0400 (Tue, 26 Aug 2008)
New Revision: 10194
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
Log:
RF-3649
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
===================================================================
---
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2008-08-26
15:08:59 UTC (rev 10193)
+++
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2008-08-26
15:11:46 UTC (rev 10194)
@@ -102,8 +102,8 @@
this.helpObj = new ClientUI.common.box.Box(this.frozenContentBox.getElement(), null,
true);
- var rows = this.headerFrozenRow.getElement().rows
- var fcount = rows.length?rows[0].cells.length:0;
+ var rows = this.headerFrozenRow.getElement().rows;
+ var fcount = (rows.length && rows[0].cells.length &&
rows[0].cells[0].innerHTML)?rows[0].cells.length:0;
var ncount = this.headerRow.getElement().rows[0].cells.length;
var columns = new Array(fcount + ncount);
Show replies by date