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
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