Fixed problem with column widths not being calculated/displayed correctly

This commit is contained in:
Andreas Stöckel
2011-09-01 10:02:23 +00:00
parent 990e1701f5
commit 0607a2c9a8
7 changed files with 41 additions and 20 deletions

View File

@ -1052,7 +1052,7 @@ var et2_dataview_partitionSpacerNode = et2_dataview_partitionContainerNode.exten
// created.
var ah = this._avgHeight;
var startIdx = Math.max(0, Math.floor((_range.top - t) / ah));
var stopIdx = Math.min(this._count - 1, Math.ceil((_range.bottom - t) / ah));
var stopIdx = Math.min(this._count, Math.ceil((_range.bottom - t) / ah));
if (startIdx > 0 && startIdx < this._count)
{