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
Post a Comment