[ 2636027 ] Embedded tab not activated after switching from grid to form
This commit is contained in:
parent
7f9931cd55
commit
e6a49848fc
|
@ -924,8 +924,19 @@ DataStatusListener, IADTabpanel
|
||||||
public void switchRowPresentation() {
|
public void switchRowPresentation() {
|
||||||
if (formComponent.isVisible()) {
|
if (formComponent.isVisible()) {
|
||||||
formComponent.setVisible(false);
|
formComponent.setVisible(false);
|
||||||
|
//de-activate embedded panel
|
||||||
|
for(EmbeddedPanel ep : includedPanel)
|
||||||
|
{
|
||||||
|
activateChild(false, ep);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
formComponent.setVisible(true);
|
formComponent.setVisible(true);
|
||||||
|
//activate embedded panel
|
||||||
|
for(EmbeddedPanel ep : includedPanel)
|
||||||
|
{
|
||||||
|
activateChild(true, ep);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
listPanel.setVisible(!formComponent.isVisible());
|
listPanel.setVisible(!formComponent.isVisible());
|
||||||
if (listPanel.isVisible()) {
|
if (listPanel.isVisible()) {
|
||||||
|
|
Loading…
Reference in New Issue