IDEMPIERE-639 Sequence field not display in Grid Model.

This commit is contained in:
Heng Sin Low 2013-02-20 17:50:55 +08:00
parent a5b09576e6
commit 066a7bc612
2 changed files with 6 additions and 0 deletions

View File

@ -67,6 +67,10 @@ implements Evaluatee
return null;
}
String columnName = keyStr.substring(windowStr.length()).trim();
//strip tab no too
if (columnName.indexOf("|") > 0) {
columnName = columnName.substring(columnName.indexOf("|")+1);
}
return columnName;
}

View File

@ -475,6 +475,8 @@ public class GridView extends Vbox implements EventListener<Event>, IdSpace
renderer = new GridTabRowRenderer(gridTab, windowNo);
renderer.setGridPanel(this);
renderer.setADWindowPanel(windowPanel);
if (pageSize > 0 && paging != null)
renderer.setPaging(paging);
listbox.setRowRenderer(renderer);
listbox.setModel(listModel);