1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    1
    Vote Rating
    0
    hepx is on a distinguished road

      0  

    Default in grid how to get combobox's filedvalue

    in grid how to get combobox's filedvalue


    this is code:
    var comV = [[1, 'aaa'], [2, 'bbb'],
    var combox = new Ext.form.ComboBox({
    store : new Ext.data.ArrayStore({
    fields : ['id', 'text'],
    data : comV
    }),
    forceSelection : true,
    valueField : 'id',
    typeAhead : true,
    editable : false,
    disabled:true,
    displayField : 'text',
    triggerAction : 'all',
    mode : 'local',
    value:null,
    selectOnFocus : true
    });
    var cm = new Ext.grid.ColumnModel({
    ......
    , {
    header : '<div align=center>combox</div>',
    dataIndex : 'deviation',
    renderer : Ext.util.Format.comboRenderer(combox)

    }]
    });
    var grid = new Ext.grid.EditorGridPanel({
    width : 940,
    height : 475,
    frame : true,
    enableColumnHide : false,
    store : store,
    stripeRows : true,
    viewConfig : {
    enableRowBody : true
    },
    sm : sm,
    cm : cm
    });
    I want to grid the data were passed to the back. combobox column default value is taken valueField, but now I would like to take displayField, do not know how to set?

  2. #2
    Ext User
    Join Date
    Jun 2010
    Posts
    23
    Vote Rating
    0
    rogerio.carrasqueira is on a distinguished road

      0  

    Default


    Do you have fixed this issue? If yes, can you post your solution? I'm having a similar problem like yours and i'm finding for a solution. Thanks so much.

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