I generate dynamically my tabs into the DHTMLXTabbar.
I want the width of each Tab will be the width of my text.
I actually use:
tabbar.addTab(...);
tabbar.setLabel(...);
And it’s ok.
Is there a better solution ?
Thanks.
I generate dynamically my tabs into the DHTMLXTabbar.
I want the width of each Tab will be the width of my text.
I actually use:
tabbar.addTab(...);
tabbar.setLabel(...);
And it’s ok.
Is there a better solution ?
Thanks.
You may set “*” as a tab width. In this case, width will be calculated automatically:
tabbar.addTab(tabId,tabLabel,"*");
Perfect ! Thanks for you answer.
Hi,
I am trying to use “*” for adjusting tab width but its giving js error on IE8 can you please help. how can I adjust the same.
Hi,
its giving js error on IE8
could you attach the demo that reproduces the problem ?
Please see attached JSP file for reference.