Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Virtusa
IN
Last activity: 20 Jan 2017 3:41 EST
Tab group Layout
Hi,
I have a Tab group layout consisting of say Tab1, Tab2, Tab3, Tab4. Now based on some particular evaluation I want to disable Tab1, Tab2 and Tab4, keeping the Tab3 active. How do I achieve this. Please suggest as soon as possible.
***Updated by Moderator: Marissa to update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689978000/50bb9fe0-cd64-4752-92d7-d25f07efed16.jpg?itok=9G0tA9u5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689978000/50bb9fe0-cd64-4752-92d7-d25f07efed16.jpg?itok=9G0tA9u5)
Incessant Technologies
GB
You can hide the tabs using a when condition on the section rule placed inside tabs.This will hide the tabs.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Can you try keeping a condition in " Active When" available under Container settings in each tab's Dynamic layout properties
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Blue Rose Technologies GmbH
BE
Hi,
You can hide the tab based on a when condition. In the tab properties you will find the visible when condition for it.
Thanks.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Virtusa
IN
Hi all,
Firstly I can't the tabs. Against requirement. Secondly If I use Active when then I can somehow skip that tab not to be shown onLoad, but that doesn't make that tab disabled. I have already used Active When but then realized active when may not disable the tab.
Regards.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Hi Pankaj,
Have tried the Visibility when option provided in the layout properties.
Let us know your thoughts.
Best Regards,
Mounika
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Virtusa
IN
Hi Mounika,
The requirement is not to hide the particular tab. I want to disable it based on an expression or a when rule. Please let me know how do I achieve disability on a tab.
And as per my understanding Tab Group Layout is itself a layout, like dynamic layouts, so does PEGA provides any OOTB feature to disable a particular layout? Please correct me if I'm wrong.
Regards,
Pankaj.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Hi Pankaj,
Thank you for the quick response.
Currently we do not have a disable when option provided for layouts (Dynamic, Tabbed...) as such but we have it only for controls.
I think this could be considered as an enhancement at this point of time.
Best Regards,
Mounika