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