Author: konstantin.mishin
Date: 2008-09-24 13:09:39 -0400 (Wed, 24 Sep 2008)
New Revision: 10550
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
Log:
RF-4517
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java
===================================================================
---
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2008-09-24
15:40:23 UTC (rev 10549)
+++
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/component/UIScrollableDataTable.java 2008-09-24
17:09:39 UTC (rev 10550)
@@ -40,6 +40,7 @@
import org.richfaces.model.ScrollableTableDataRange;
import org.richfaces.model.SortOrder;
import org.richfaces.model.internal.ComponentSortableDataModel;
+import org.richfaces.renderkit.html.ScrollableDataTableUtils;
/**
@@ -414,7 +415,7 @@
}
if (getRowCount() < getFirst() + rows) {
setFirst(0);
- setScrollPos("0,0," + rows);
+ setScrollPos("0,0," + rows + "," +
ScrollableDataTableUtils.getClientRowIndex(this));
}
}