1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    6
    Vote Rating
    0
    rematnarab is on a distinguished road

      0  

    Default Extjs superboxselect keyup event is not firing

    Extjs superboxselect keyup event is not firing


    i am using superboxselect for one of my projects. I need to perform some additional filtering. Therefore i need to be able to do it in the keyup event. But i can not get it to work

    Code:
    var test = new Ext.ux.form.SuperBoxSelect( { 
        applyTo : 'testId', 
        id : 'test', 
        allowBlank : true, 
        msgTarget : 'title', 
        xtype : 'superboxselect', 
        resizable : true, 
        hiddenName : 'statesHidden[]', 
        width : 300, 
        store : somestore, 
        mode : 'local', 
        displayField : 'name', 
        valueField : 'code', 
        classField : 'cls', 
        styleField : 'style', 
        extraItemCls : 'x-flag', 
        extraItemStyle : 'border-width:2px', 
        stackItems : true, 
        listeners : {'keyup' : testFunction} 
    }); 
     
      function testFunction(){ 
           alert("hola"); 
      }

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,112
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Have you tried adding: enableKeyEvents:true

    Scott.

Thread Participants: 1

Tags for this Thread