O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a tab panel with scrollable tab strip

The tab strip is the portion of the TabPanel class containing the titles or headings of the tabs that the user clicks on to navigate through the tabbed content. Although it is not generally considered good usability, sometimes we might need to have more tabs than the tab strip can display. Thanks to the GXT toolkit, we can scroll on the tab strip to solve this problem.

Creating a tab panel with scrollable tab strip

How to do it...

Enabling the tab strip scroll feature on a TabPanel instance is quite easy; even if you want the scroll operation animated, you are welcome to try it, it just takes a few (about three) lines of code to achieve this. We ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required