PDA

View Full Version : scroll across tabs



sway
16 Sep 2010, 6:36 PM
Is there any simple Extjs / javascript way to enable scrolling across tabs? eg: I have 4 tabs across the top of a panel but the panel is only large enough to show 3 at one time. How can I put a little arrow button to scroll across the top or enable mouse wheel scroll for the tabs?

laurentParis
16 Sep 2010, 9:46 PM
set enableTabScroll (http://dev.sencha.com/deploy/dev/docs/source/TabPanel.html#cfg-Ext.TabPanel-enableTabScroll) to true (tabpanel property)

sway
16 Sep 2010, 11:34 PM
wow, so simple! Thanks!