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()) {
listPanel.refresh(gridTab);
listPanel.scrollToCurrentRow();
Clients.resize(listPanel.getListbox());
listPanel.getListbox().invalidate();
} else {
listPanel.deactivate();
}

View File

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