Results 1 to 3 of 3

Thread: Combobox Select Event only fires once (actually for the first time)

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default Combobox Select Event only fires once (actually for the first time)

    I searched on internet,and found this source, but I have no permission to view it

    http://www.sencha.com/forum/showthre...ring-only-once
    Last edited by mitchellsimoens; 11 Jan 2013 at 1:01 PM. Reason: snipped bad forum etiquette

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Did you make sure everything was setup properly? Like the valueField is 100% (case-sensitive) was correct?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default

    hi Mitchell,

    this is my code, and the "alert info" only occurred for the first time after refresh the page,
    so do you have some ideas?

    thanks for your response

    items : [{
    id : 'comboid',
    xtype : 'combobox',
    style : 'padding:0px 5px 0px 10px;',
    fieldLabel : 'NameList',
    width : 533,
    queryMode : 'local',
    store : this.NameListStore,
    displayField : 'displayShortName',
    valueField : 'name',
    editable : false,
    listConfig : {
    loadMask : false
    },
    listeners : {
    'select' : function(combo, row, index) {
    alert("test");
    me.fireEvent('testEvent', row);
    },


    }
    }

Posting Permissions

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