Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8003577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:41:02+00:00 2026-06-04T16:41:02+00:00

When I filter a combobox by adding a filter to the underlying store, sometimes

  • 0

When I filter a combobox by adding a filter to the underlying store, sometimes the filter works (items are removed) and sometimes it has no effect. I have debugged the filterBy function; it is being called and is returning true/false as I wish to filter/show items.

I read on the ExtJS forums that the, “Combobox uses filtering (even with triggerAction:’all’), so your own trigger gets replaced by the one from the combobox.” Two filters?

What is the proper technique to remove temporarily items in an Ext JS combobox?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:41:03+00:00Added an answer on June 4, 2026 at 4:41 pm

    You’ll need to delete the property ‘lastQuery’ of the Combobox,
    everytime you filter the Store. This is where the ComboBox caches
    it’s Entryset after it build it up the first time.

    So doing something like this:

          'window combobox[name=countryselection]' : {
                'change' : function(view, newValue){
                    with(Ext.data.StoreManager.lookup('Subcountries')){
                        var combobox = Ext.getCmp('MainWindow').query('combobox[name=subcountryselection]')[0];
                        //force the combobox the rebuild its entryset
                        delete combobox.lastQuery;
                        clearFilter();
                        filter('countryId', newValue);
                    }
                }
            }
    

    It works great for me 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(I'm using Cairngorm) I have a combobox that displays items form an XMLListCollection that's
I have two ComboBoxe's that use the same store. I want to filter the
I have an ExtJs combobox. Its store loaded using JSON (using MyStore class below).
This is driving me NUTS!!! I have a ComboBox used to filter a query
How do I filter items in a listbox using a combobox using c# and
I have a combo-box which works as a filter for a column. On changing
I was reading through Filter concepts and have a doubt if filters will be
I am trying to filter a record set, and i have got it to
Sourceforge.net has a filter for Java projects , but I'm looking for a way
I have an editable WPF ComboBox with TextSearchEnabled. I need to force the user's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.