Author: abelevich
Date: 2007-05-21 07:20:29 -0400 (Mon, 21 May 2007)
New Revision: 816
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody2.js
Log:
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody2.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody2.js 2007-05-21
11:20:20 UTC (rev 815)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody2.js 2007-05-21
11:20:29 UTC (rev 816)
@@ -388,7 +388,7 @@
this.countToLoad = range.start - this.currRange.start;
this.startRow = frozenTbl.rows[0].index;
- this.startIndex = range.start + this.countToLoad;
+ this.startIndex = range.start + (this.rowsCount - this.countToLoad);
// store visible row pos to restore after rows reerrange
var visibleRowPos = this.templFrozen.getY() + this.countToLoad *
this.defaultRowHeight;
Show replies by date