extjs - Sencha combo box display value issue -


when configure combo box have add following properties.i need send selected id end.

 displayfield : 'displayvlaue',  valuefield  : 'id', 

after setting these properties can send id end correctly.

but when changed value in combo box, display value instead of name. need display name , need send value end

other thing is, combo box placed inside grid column

{     xtype: 'gridcolumn',     id: 'batchclass',     minwidth: 150,     width: 200,     dataindex: 'batchclassid',     text: 'batchclass',     editor: {         xtype: 'combobox',         autorender: false,         emptytext: 'select batch class',         size: 40,         displayfield: 'displayvlaue',         store: 'allbatchclassstore',         valuefield: 'id',         valuenotfoundtext: 'refresh page , try again',         listeners: {             select: {                 fn: me.oncomboboxselect,                 scope: me             }         }     } } 


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -