Results 1 to 2 of 2

Thread: Cascading ComboBox filter issue

  1. #1

    Default Cascading ComboBox filter issue

    This is my first post, so please be kind!

    I'm working with ExtJS 3.2.x and I have two ComboBoxes, both backed by remote JSON stores. The loading works fine for both and the values show up fine in each.

    The main combo drives the other via a call to the other's filter method on the select event as usual but the first selection process - the second combo does not filter even though its filter method is called. I can actually select something from the main combo several times and it still does not filter the second combo properly. Only when I click the trigger on the second combo, and then go back and make a selection in the main combo again does it filter.

    I've done all the standard checking of my code, tried clearing the filter first and I also clear the value of the second combo and can't figure this out. I also checked to see that the onselect event is being fired properly the first time in the main combo in Firebug and it is.

    I've done various searches on this issue and found some references to this, but most were for older versions of ExtJS and referenced the 'lastQuery' config property, which doesn't exist in 3.

    Did I miss something simple here?

    I should mention that it happens on all browsers, Chrome, FF & IE.
    Last edited by davieb; 11 Nov 2010 at 8:13 AM. Reason: Added browser caveat

  2. #2


    Ok, I just added a line to set the 'lastQuery' property before the filter and that works.

    Is this actually a config property as well? I was confused by that because most of the posts I had read about it in were using it as a config property, which isn't in the API doc. I'm also using ExtJS Designer and it's obviously not in the config properties list there either. Not that I could set it easily by hand anyway as it would be a bit of a mess with Designer overwriting those source files each time.

    Not a big deal. At least it's working.

Similar Threads

  1. Cascading ComboBox
    By sumithjoy in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 21 Jul 2010, 4:22 PM
  2. [3.0.3] Combobox and store.filter issue
    By seek in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 15 Dec 2009, 12:56 AM
  3. [SOLVED] Cascading combo boxes not cascading... yet... in CakePHP!
    By frederickd in forum Ext 3.x: Help & Discussion
    Replies: 26
    Last Post: 15 Nov 2009, 5:25 PM
  4. Cascading ComboBox. Second Load, combobox displays no data.
    By naxito in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 30 Jul 2009, 5:58 AM
  5. Cascading Combobox
    By John Sourcer in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 14 May 2007, 5:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts