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?
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.
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.
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.