title: ExtJs: Search / Filter within a ComboBox
body: <p>I've the following problem / question in ExtJs 2.3:</p>
  
  <p>I'd like to do a search within a combobox.
  I'll give you an example:</p>
  
  <pre><code>Ext.comboData.names = [['Peter', 'Paul', 'Amanda']];
  
  var store = new Ext.data.SimpleStore({
       fields: ['name'],
       data: Ext.comboData.names
  });
  
  
  var combo = new Ext.form.ComboBox({
       name: '...',
       id: '...',
       store: store,
       displayField: 'name',
       typeAhead: true,
       mode: 'local',
       forceSelection: false,
       triggerAction: 'all',
       emptyText: '-',
       selectOnFocus: true,
       applyTo: '...',
       hiddenName: '...', 
       valueField: 'name'
       enableKeyEvents: true,
       lastQuery: '',
       listeners: {
           'keyup': function() {
                 this.store.filter('name', this.getRawValue(), true, false);
           }
       }
  });
  </code></pre>
  
  <p>When I would type in an 'a', there only should be 'Paul' and 'Amanda' in the "dropdown". So in other words I'm looking for a solution to filter the data not only by the entries' first letter, but maybe by using something like a regular expression (?) (like in SQL ... LIKE '%a%')...I also would need type of "onKeyDown"-event for my comboBox in order to filter the results on every single letter I add.
  How can I do that? Any ideas?</p>
  
  <p>Tanks a lot in advance :)</p>
  
  <p>Schildi</p>
  
  <p>PS: Unfortunately I have to use my current version of ExtJs (2.3), so if there's a solution for my problem just in later versions, I would have to look for an other way...</p>