title: Added an enter event to EXT JS Application search text box to fire search
body: <p>Hi I have the code below my my enter event is never triggering, any help will be appreciated.</p>
  
  <pre><code>    items: [{
              xtype: 'textfield',
              id: 'idhere',
              name: 'namehere',
              fieldLabel: 'lablehere:',
              width: 500,
              handler: {
                    key:13,
                    fn : function () {
                    if (e.getKey() == e.ENTER) {
                             alert("You pressed an enter button in text field.");
      }
                    }
  
              }
          },{
              xtype: 'button',
              text: 'texttodisplay',
              handler: function() {
                                    //my function.
              }
  
          }]
  </code></pre>
  
  <p>I actually solved this by using:</p>
  
  <pre><code>listeners:  {
                  specialkey: function (f,e) {    
                       if (e.getKey() == e.ENTER) {
                          loadData();
                      }
                  }
              }
  </code></pre>