29 Mar 2011 7:46 AM #1
How To Hide Some Values In Dropdown For Simple Combo Box?
This seems easy, but I'm not figuring it out...
I have a SimpleComboBox that I load with some values from an Arrays.asList(). That's all fine.
In my application, I sometimes don't want to show all the values of the dropdown as they are sometimes not applicable to what's going on. What's the correct way to do this?
I don't want to remove them because then I'd have to add them back later on. There doesn't seem to be a simple way to just hide a value in the dropdown of the combo. I was thinking I could filter the value out of the store and then clear the filter when I want it back in. Thoughts? Examples?
7 Apr 2011 10:30 PM #2
If you use a ComboBox instead of a SimpleComboBox you can use a store and filters.
7 Apr 2011 11:14 PM #3
By jsakalos in forum Ext 3.x: User Extensions and PluginsReplies: 640Last Post: 31 Aug 2015, 9:16 AM
By rbraddy in forum Ext 3.x: Help & DiscussionReplies: 17Last Post: 5 Nov 2009, 10:42 AM
By dee_rocks in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 12 Sep 2007, 1:59 PM
By c-909 in forum Community DiscussionReplies: 2Last Post: 1 May 2007, 1:13 AM