IDEMPIERE-487 Display problem in detail page (Field Tab) grid model of Windows>Tab
This commit is contained in:
parent
5caa671771
commit
9a87cca423
|
@ -376,11 +376,16 @@ public class GridView extends Vbox implements EventListener<Event>
|
|||
} else {
|
||||
if (renderer.isEditing()) {
|
||||
renderer.stopEditing(false);
|
||||
if (((renderer.getCurrentRowIndex() - pgIndex) / pageSize) == pgNo) {
|
||||
int editingRow = renderer.getCurrentRowIndex();
|
||||
if (editingRow >= 0) {
|
||||
int editingPgIndex = editingRow % pageSize;
|
||||
int editingPgNo = (editingRow - editingPgIndex) / pageSize;
|
||||
if (editingPgNo == pgNo) {
|
||||
listModel.updateComponent(renderer.getCurrentRowIndex() % pageSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (paging.getActivePage() != pgNo) {
|
||||
paging.setActivePage(pgNo);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue