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
    Jun 2008
    Posts
    9
    Vote Rating
    0
    snehat is on a distinguished road

      0  

    Default I got the valueField instead of displayField.

    I got the valueField instead of displayField.


    Hi,
    i have a GridEditorPanel with a ComboBox Editor and my mode:remote. But after the selection of a value of the ComoBox and submit my recordform, i got the valueField instead of displayField.

    How to i render the displayField but still have access to the valueField to pass this to my backend?

    here is my code

    Code:
     this.LookupRecord = Ext.data.Record.create([
                      {name: 'devicecategory_id'},
                      {name: 'devicecategory_name'}
            ]);
            //Store for combo box of category
            this.categorycombo = new Ext.data.Store({        
                 proxy: new Ext.data.HttpProxy({url: this.url})
                ,baseParams:{mode:'combo', objName:"devicecategory"}
                ,reader: new Ext.data.JsonReader({
                         id:'devicecategory_id',
                         root:'rows',
                         totalProperty:'totalCount'                    
                    },[{
                                name: 'devicecategory_id',
                                mapping: 'devicecategory_id'
                            }, {
                                name: 'devicecategory_name',
                                mapping: 'devicecategory_name'
                            }]),
                            autoLoad: true,this.LookupRecord)
             });
    So please help me for this.
    Thanks in advance
    Snehat

  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 have shown the store for you combo, but not the config for the combo itself btw...
    Read API docs for combobox, particularly 'hiddenName' config option.

Thread Participants: 1