1. #1
    Ext User
    Join Date
    Feb 2008
    Location
    Spain
    Posts
    173
    Vote Rating
    0
    Capi666 is on a distinguished road

      0  

    Default [SOLVED] Sort a combobox

    [SOLVED] Sort a combobox


    Hi, how can sort a combobox... I see a method, but i can

  2. #2
    Ext User
    Join Date
    Jul 2007
    Posts
    3,128
    Vote Rating
    1
    devnull is an unknown quantity at this point

      0  

    Default


    you sort the store, not the combo itself.
    Either by providing a sortInfo in the store config, or calling its sort method later.

  3. #3
    Ext User
    Join Date
    Feb 2008
    Location
    Spain
    Posts
    173
    Vote Rating
    0
    Capi666 is on a distinguished road

      0  

    Default


    How can sort the store of combobox?

    Code:
    			items:[{
    				xtype:'combo',
    				store: storeSer,
    				fieldLabel:'Ser.',
    				name:'ser',
    				id:'ser',
    				displayField:'desc',
    				typeAhead: true,
    				mode: 'local',
    				triggerAction: 'all',
    				selectOnFocus:true,
    				valueField:"prodh",
    				anchor: '90%',
    				listeners : {
    					change: function(f,n,o) {
    						var rgfilterSerie = new RegExp(f.getValue);
    						Ext.getCmp('mod').store.filterBy(function(record) {
      							return record && rgfilterSerie.test(record.get('prodh'));
    						});
    					}
    				}
    Thanks,

  4. #4
    Ext User
    Join Date
    Jul 2007
    Posts
    3,128
    Vote Rating
    1
    devnull is an unknown quantity at this point

      1  

    Default


    the 'sort' method maybe? it's all right there in the API docs...

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