Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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
    68
    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