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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Dynamically change the number of tabs.

bpriya.s
1-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?

4 REPLIES 4

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.

fgrondin
5-Regular Member
(To:CarlesColl)

Hi Carles,

Can you elaborate on how you did this.

Thank

Frederik

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.

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.

Top Tags