1. #1
    Ext JS Premium Member
    Join Date
    Dec 2011
    Posts
    227
    Vote Rating
    2
    nicolabaldo is on a distinguished road

      0  

    Default combobox with live search in a grid

    combobox with live search in a grid


    If I write 2 chars in the combo appears the filtered list and it works, but
    If I select anything and I click in the combo and I write other chars the list doesn't appears.
    If I watch the console of Firefox 12.0 there are the query... it's very strange!

    This is my code:
    Code:
    Ext.getCmp('myGrid').columns[0].editor= {	
        xtype: 'combo',
        store: myStore,
        displayField:'valore',
        valueField: 'codice',
        queryParam: 'valore',		
        mode: 'remote',
        triggerAction: 'all',
        editable: true,
        typeAhead: false,
        minChars: 1,
        matchFieldWidth: false,
        allowBlank: false,
        hideTrigger:true,
        pageSize:10,	
        forceSelection: true,
        listeners: {
            beforequery: function(queryEvent){
                if (!queryEvent.query)
                return false;			
            }		
        },
        listConfig: {
            width: 300,
            heigth: 200,
            loadMask: false,
            emptyText: 'Nessun record trovato'
        }	
    };
    Last edited by scottmartin; 5 Jul 2012 at 8:38 AM. Reason: Please format your code.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Vote Rating
    443
    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


    Can I get more detail on your comment:
    If I select anything and I click in the combo and I write other chars the list doesn't appears
    hideTrigger:true, (If you select?)

    Is this an issue of not triggering the search not getting sent to server, or not result not returned?

    Perhaps a video? (or an example)
    http://www.techsmith.com/jing.html

    Scott.

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2011
    Posts
    227
    Vote Rating
    2
    nicolabaldo is on a distinguished road

      0  

    Default


    The server calls are made but I see anything.

Thread Participants: 1

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