IDEMPIERE-1635 Upgrade to zk7. Minor performance improvement.
This commit is contained in:
parent
1d60634d29
commit
f7f1a36290
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue