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

Custom ComboBox displays

The GXT ComboBox widget uses a ListView object which in turn uses a Template to render the drop-down list presented by the combo. Perhaps you've thought of a combo that displays a list formatted a certain way, such as a list of customers with all parts of their names or only last names bold and italicized for emphasis. What about a combo of countries with an icon of their flag shown on the left-hand side, the country name in the middle, and a computed value (for example, GDP) showing on the far right.

These and more can be achieved in ComboBox as well as other data-bound GXT widgets that render items directly or indirectly with templates, like the case of a ListView. Combining such flexible data formatting with the power ...

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