cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically change the number of tabs.

Newbie

Dynamically change the number of tabs.

Is there any way to dynamically control the number of tabs in a tab-widget? As in ,based on the input can the number of tabs change?

Tags (2)
4 REPLIES 4

Re: Dynamically change the number of tabs.

No.

I do it with Menu Widget, you will get the same result. Well you will need to do it all with SubMashups, but it's not a big deal.

Best Regards,

Carles.

Re: Dynamically change the number of tabs.

Hi Carles,

Can you elaborate on how you did this.

Thank

Frederik

Re: Dynamically change the number of tabs.

Basically you should use a Menu widget with DataDriven options, and you build the Menu Options / aka Tabs through a service, then on the selected option of the menu you set a Sub Mashup and you are done.

Re: Dynamically change the number of tabs.

Hello, Banu,

The number of tabs in the widget is set at Design time, and it cannot be changed during runtime.

But you can show different numbers of tabs dynamically, since the tabs can be set invisible independently.

In this case, you can create a infotable data input that includes 4 Boolean properties (and others), and each one of them will be used to control the visibility of one tab pages (in selected rows). Upon selection in different rows (conditions), the tabs show dynamically in the mashup runtime.