PDA

View Full Version : ListBox Widget



hammonda
20 Jul 2010, 10:57 AM
Hi,

I am new to ext GWT and wanted to start with a simple ListBox widget that displays icons as well as text in the drop down list. Can someone please give me a helping hand to get going.

Thanks

sven
20 Jul 2010, 11:01 AM
http://www.sencha.com/examples/explorer.html#combobox
isnt the third example exactly doing what you just described?

hammonda
20 Jul 2010, 11:18 AM
yes thanks, it's very close but I was hoping to be able to prohibit the user from typing in the box altogether to guarantee that the value is indeed in the list.

sven
20 Jul 2010, 11:22 AM
You can do that.

hammonda
20 Jul 2010, 11:30 AM
Ah, I see that now, great - thanks.

One last thing, is it possible to display the flag as well as the text for the selected item?

sven
20 Jul 2010, 11:31 AM
No, not that easy.

hammonda
20 Jul 2010, 11:34 AM
got it - thanks for your help