Showing results for 
Search instead for 
Did you mean: 

Dynamically show/hide or enable/disable TabItem within Control.Type.Tabs

0 Kudos

Hi, is it possible to dynamically show/hide or enable/disable an individual TabItem within and array of Control.Type.Tabs?

We have a requirement in which under certain conditions, we wish to make a tab inaccessible to the user depending on the fields set in other tabs.

This is possible in native controls and other frameworks (as well as UI5!) so we are hoping there is a way around it. The setVisible() call on the TabItem throws an undefined error which suggests this is not yet supported.

We currently are attempting to use the .tabItems array to access the objects:

API documentation states its parent interface does implement setVisible(<bool>).

Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

For Tabs MDK does not support dynamically adjusting the list of tabs after the page has rendered. You can use a rule for the Tabs property to dynamically return the list of tabs when opening the page. I would suggest you to open a feature request here. We'll review it based on its priority.