Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8581 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    71
    Vote Rating
    5
    Lukappa is on a distinguished road

      0  

    Default Combo events broken after combo.getStore().load()

    Combo events broken after combo.getStore().load()


    Ext version tested:
    • Ext 4.2.0 rev 265 beta2
    Browser versions tested against:
    • Google Chrome 24.0.1312.57
    DOCTYPE tested against:
    • <!DOCTYPE HTML>
    Description:
    • Loading dynamically the combobox store (eg. by direct request), the combo picker is loosing the select/click events (impossible to select an item from list of picker even if the picker is opened)
    Steps to reproduce the problem:
    • Create a new panel with combo inside
    • Select one item from combo (here it's ok)
    • Call the combo.getStore().load() method (just to change the store records of combo)
    • Try to select another item of combo (from second time you select the bug appears)
    The result that was expected:
    • I expect I could click an item from loaded items
    The result that occurs instead:
    • It's impossible to click any item
    Test Case:
    Code:
    //direct example... the panel (mvc view)    
       {    
       xtype: 'combobox',
        store:  'App.store.MyStore', //direct connected store
        queryMode: 'local',
        displayField: 'name',
        valueField: 'id',
        editable: false
        },
    
    
    //static example
    //you can even set static array and change it loading another one to see the problem
    
    eg.
         store: [['f','Foo'],['b','Bar']]

    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    • custom css (include details)
    Operating System:
    • MacOs 10.8.2

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,645
    Vote Rating
    816
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1