Reputation: 9
I am trying to add new or second line in tab-strip. Once the space is exhausted in first line ,I want another line to display tabs. Can I get a sample code? Note : Tabs are generated dynamically on click of button.
Upvotes: 0
Views: 3203
Reputation: 4098
The sap.m.IconTabBar only supports a single row of IconTabBarFilters and uses horizontal scroll when there is not room to display them all in one line.
In order to achieve your goal you need to define several IconTabBars and determine the number of IconTabBarFilters you want in each row. Once a IconTabBar is "full", add the next IconTabFilter to the next row's IconTabBar (and make it visible).
Upvotes: 1