IDEMPIERE-3003:Info Window - Reset button should reset grid content
This commit is contained in:
parent
ee89ebbd26
commit
dbdc970866
|
@ -1648,6 +1648,11 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
|
|||
dynamicDisplay(null);
|
||||
|
||||
onQueryCallback (null);
|
||||
|
||||
if (paging != null)
|
||||
paging.setParent(null);
|
||||
|
||||
layout.invalidate();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -733,7 +733,6 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
paging.setTotalSize(m_count);
|
||||
paging.setDetailed(true);
|
||||
paging.addEventListener(ZulEvents.ON_PAGING, this);
|
||||
insertPagingComponent();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -782,6 +781,9 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
updateStatusBar (m_count);
|
||||
setStatusSelected ();
|
||||
addDoubleClickListener();
|
||||
|
||||
if (paging != null && paging.getParent() == null)
|
||||
insertPagingComponent();
|
||||
}
|
||||
|
||||
protected void updateStatusBar (int no){
|
||||
|
|
Loading…
Reference in New Issue