IDEMPIERE-4165 Fix problem for case #5 reported in the ticket

This commit is contained in:
Diego Ruiz 2020-02-10 18:58:50 +01:00 committed by Carlos Ruiz
parent 643599548e
commit c50d8ff703
2 changed files with 4 additions and 4 deletions

View File

@ -1653,7 +1653,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
if (listPanel.isVisible()) { if (listPanel.isVisible()) {
listPanel.refresh(gridTab); listPanel.refresh(gridTab);
listPanel.scrollToCurrentRow(); listPanel.scrollToCurrentRow();
Clients.resize(listPanel.getListbox()); listPanel.getListbox().invalidate();
} else { } else {
listPanel.deactivate(); listPanel.deactivate();
} }

View File

@ -356,7 +356,7 @@ public class GridView extends Vlayout implements EventListener<Event>, IdSpace,
showRecordsCount(); showRecordsCount();
} }
if (this.isVisible()) if (this.isVisible())
Clients.resize(listbox); listbox.invalidate();
} }
/** /**
@ -729,7 +729,7 @@ public class GridView extends Vlayout implements EventListener<Event>, IdSpace,
listModel.setPage(pgNo); listModel.setPage(pgNo);
onSelectedRowChange(0); onSelectedRowChange(0);
gridTab.clearSelection(); gridTab.clearSelection();
Clients.resize(listbox); listbox.invalidate();
} }
} }
else if (event.getTarget() == selectAll) else if (event.getTarget() == selectAll)
@ -1121,7 +1121,7 @@ public class GridView extends Vlayout implements EventListener<Event>, IdSpace,
refresh(gridTab); refresh(gridTab);
scrollToCurrentRow(); scrollToCurrentRow();
Clients.resize(listbox); listbox.invalidate();
} }
/** /**