IDEMPIERE-1635 Upgrade to zk7. Minor performance improvement.

This commit is contained in:
Heng Sin Low 2014-04-03 01:46:03 +08:00
parent 1d60634d29
commit f7f1a36290
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
Grid grid = (Grid) row.getParent().getParent();
org.zkoss.zul.Columns columns = grid.getColumns();
int rowIndex = row.getParent().getChildren().indexOf(row);
int rowIndex = index;
if (paging != null && paging.getPageSize() > 0) {
rowIndex = (paging.getActivePage() * paging.getPageSize()) + rowIndex;
}