Expand specific sub-panel on detail view page load

Hello there,

I have 4 different sub-panel on detail view page. I added sub-panel setting in config_override.php:
$sugar_config[‘hide_subpanels’] = true;
$sugar_config[‘hide_subpanels_on_login’] = true ;

Now I want to keep open/expand one of the sub-panel among 4 sub-panel I have and rest of collapse.

Can any one have any Idea about how I can do this?

I am using SuiteCRM Version 7.11.8
Please suggest on this.

Thanks in advance.

Hi

For instance you can use: unset($layout_defs[‘Contacts’][‘subpanel_setup’][‘cases’]);
file location: custom/Extension/modules/Contacts/Ext/Layoutdefs/layoutdefs.ext.php

Also you can refer the below link: https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/389/hide-contacts-subpanel-in-accounts-module

Thank you for your response. But I don’t want to hide my sub-panel, I want to keep open/expand one of the sub-panel and rest of collapse. For reference I am attaching image:

As shown in image, I want to show Call Encounter Sub-panel by default as expanded and other sub-panel in collapse state.

Can any one has any solution on this?