How can I get my tabs to show on multiple rows?

Hi,

I have so many tabs that they scroll off to the right of the tabbar container and you have to scroll them into view to see them.

I know I read somewhere that you can get them to be displayed on multiple rows, but I can’t find the instructions of how to do this in the manual anywhere.

Could you tell me how I can get my tabs to show on multiple rows, please?

Debbie

Hi,

you may define row index in the 5th parameter of the addTab method (PRO edition only):

dhtmlxTabbar/samples/07_pro/01_multiline.html

or call normalize method (PRO edition):

tabbar.normalize()

Hi,

How would I do it, if I create the tabs with HTML divs?

Debbie

Hi,

in case of html initialization you may set “row” attribute for a tab:

...
...

or if you want to use normalize() method: