PDA

View Full Version : BannedComboItems: ComboBox with disabled items



fmntf
28 Nov 2010, 1:43 PM
You may have unacceptable values in a combo. For example, a product out of stock.

If you do not put unselectable items in the combo, your customers will say you: “Why can’t I see raspberries in the list? I’m sure I added them to the system“.
And if you put everything in the combo, they will say you “Oh, that’s too much, why do I see all this useless stuff?“.

This plugin for Ext.form.ComboBox grays out items you mark as unselectable:

http://blog.webmatters.it/wp-content/uploads/bannedcomboitems1.png

Full presentation (http://blog.webmatters.it/2010/11/bannedcomboitems-combobox-with-disabled-items/) -- Demo & download (http://acme.webmatters.it/extamples/BannedComboItems/)

I hope you will find this useful!
Francesco

wemerson.januario
28 Nov 2010, 3:59 PM
seems to be nice. thanks for sharing

wki01
29 Nov 2010, 12:49 AM
Thanks for sharing
But it does not work with IE8

msinn
29 Nov 2010, 3:31 AM
thank you very much for sharing !

fmntf
29 Nov 2010, 2:04 PM
Thanks for sharing
But it does not work with IE8
that "browser" does not run on my os :D

can you explain the problem?

wki01
29 Nov 2010, 11:58 PM
Does not come out when the curtain of the combobox when I press the button.
Hello

wki01
2 Dec 2010, 3:31 AM
Does anyone know why it does not work with IE8?
Thanks

fmntf
2 Dec 2010, 9:41 AM
Does anyone know why it does not work with IE8?
Thanks
I investigated -- the plugins already worked on IE8.
There was a problem in the store sample data, an extra comma.

FCTim
2 Dec 2010, 9:54 AM
Darn commas. Easy solution to the problem I was facing. Thanks for the idea.