user3312581
user3312581

Reputation: 9

How to add multiple lines in tab strip of sap UI5?

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

Answers (1)

dparnas
dparnas

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

Related Questions