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. #11
    Ext User
    Join Date
    Sep 2007
    Posts
    97
    Vote Rating
    0
    talshadar is on a distinguished road

      0  

    Default


    Something similar - I have a simple store holding data for a combo box. I want the user to be able to type in a new entry if it doesn't exist in the store and then when they leave the box - save that into the store and reload it. I've turned editable:true on the combo box but it doesn't make a difference, the change event doesn't seem to happen.

    Here's the code:

    Code:
        var statusData = [
                ['Open', 'open'],
                ['Hold', 'hold']
        ]; 
    
        var rStatusRecord = Ext.data.Record.create([
            {name: 'code', type: 'string'},
            {name: 'Status', type: 'string'}
        ]);
        
        dsStatus = new Ext.data.SimpleStore({fields:['code','Status'], data:statusData});
    
            cboStatus = new Ext.form.ComboBox({fieldLabel:"Status",id:"StatusID",tabIndex:11, 
                                    hiddenName:"Status",displayField:"Status",valueField:"code",
                                    store:dsStatus,width:268,readOnly:false,selectOnFocus:true,typeAhead:true,mode:"local",
                                    forceSelection: true,triggerAction: "all",emptyText:"Please Select...", editable:true});
    
            cboStatus.addListener("change", cboStatus_OnChange);
    
        function cboStatus_OnChange(cbo, newVal, oldVal)
        {
            Ext.MessageBox.alert("Status", "You Typed: " + newVal);
            var statusRecord = new rStatusRecord({
                code: "",
                Status : ""
            });
            statusRecord.data.code = newVal;
            statusRecord.data.Receipt_Party = newVal;
            
            dsStatus.add(statusRecord);
            cboStatus.reload();
        }
    Nothing seems to happen when I type text in. Any suggestions - something obvious that I'm missing???

  2. #12
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    afsarnamak is on a distinguished road

      0  

    Default Add/Remove data from combobox:

    Add/Remove data from combobox:


    Hi talshadar,
    Me too havin the same issue, if possible can you please share code snippet. Thanks in Advance.

    Afsernamak.

  3. #13
    Sencha User
    Join Date
    Dec 2012
    Posts
    19
    Vote Rating
    0
    srautpyaa is on a distinguished road

      0  

    Default Hide the data from combobox

    Hide the data from combobox


    Dear all,
    I have used below code to remove item from combobox.

    combo.store.remove(combo.store.getById(combo.getValue()));


    Now i want to hide data(item) from combobox. Is there any way to hide the data from combobox?

    Pls help me.

    Thanks inadvance.
    -satyaprasad