1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    4
    Answers
    1
    Vote Rating
    0
    tsluijter is on a distinguished road

      0  

    Default Answered: Combobox with typeAhead search all test in tpl

    Answered: Combobox with typeAhead search all test in tpl


    I have a combobox with a tpl config.

    Code:
    Ext.define('Private.view.case.Combo', {
      extend : 'Ext.form.field.ComboBox',
    
    
      initComponent : function() {
    
    
        var me = this, config;
    
    
        config = {
          typeAhead: true,
          fieldLabel : 'Customer',
          store : 'Customer',
          valueField : 'number',
          displayField: 'lastName',
          tpl: '<tpl for="."><div class="x-boundlist-item"><table><tr><td width="50">{number}</td>' +
            '<td width="150">{firstName}</td>' +
            '<td width="150" class="list-item">{lastName}</td>' +
            '<td width="100">{birthdate}</td></tr></table></div></tpl>',
          allowBlank: false,
          width: 600
        };
    
    
        Ext.apply(me, config);
    
    
        me.callParent();
      }
    });
    When i type text in the combobox it will only search in the lastname column.
    I would like to search in all the columns. Is that possible?

  2. Of course. Just override this method.

  3. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    568
    Answers
    58
    Vote Rating
    69
    ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice

      1  

    Default


    Of course. Just override this method.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi