Author: konstantin.mishin
Date: 2008-03-20 12:10:17 -0400 (Thu, 20 Mar 2008)
New Revision: 7017
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
Log:
RF-2107
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
===================================================================
---
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2008-03-20
15:59:47 UTC (rev 7016)
+++
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2008-03-20
16:10:17 UTC (rev 7017)
@@ -75,6 +75,7 @@
grid.getBody().updateSize();
if(grid.getFooter()) {grid.getFooter().updateSize();}
grid.updateLayout();
+ grid.getBody().restoreScrollState();
},
Utils.Condition.ElementPresent(grid.client_id), 100);
},
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
===================================================================
---
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2008-03-20
15:59:47 UTC (rev 7016)
+++
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2008-03-20
16:10:17 UTC (rev 7017)
@@ -26,7 +26,6 @@
if (this.options.selectionInput) {
this.selectionManager = new ClientUI.controls.grid.SelectionManager(this);
}
- this.getBody().restoreScrollState();
this.endInitTime = (new Date()).getTime();
this.rowCallbacks = [];
},
Show replies by date