PDA

View Full Version : Ext JS 5 addtab button and tab scroller menu



doniking
5 Mar 2015, 7:35 PM
Hi,

Does Ext JS 5 now support built in addtab button, tab scroller, and menu as you can see on this screenshot?

51910


Thanks

doniking
5 Mar 2015, 8:11 PM
I found it

http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.ux.TabScrollerMenu


so the last question is how to add the addtab button

Gary Schlosberg
5 Mar 2015, 8:48 PM
Perhaps something like this.
?https://fiddle.sencha.com/#fiddle/j86

doniking
5 Mar 2015, 11:55 PM
Hi Gary Schlosberg,

Thanks, but how to keep the Add button to be visible once the tabs overlap its container?

mhenn
5 Jan 2016, 6:25 AM
Hi guys, I used the "show add tab button as panel tool" approach. But it has the same problem as Gary's "add tab button in tab bar" solution. And even worse: overflow handler doesn't appear at all when using 'tabBarHeaderPosition: 0' to align the button next to the tabbar. Possible bug?

Tested with ExtJS versions 5.1.2 and 6.0.1.

13ai