Please, help.
I want to show my displayValue in the Grid.
I found the solution here, but I can\'t understand how use it. My code:
columns:[...,{
var myStore = new Ext.data.Store({
fields: ['value','display'],
data: prod_list
});
...
editor: {
xtype: 'combobox',
store: myStore,
displayField: 'display',
valueField: 'value'
},
renderer: function(val){
index = myStore.findExact('value',val);
if (index != -1){
rs = myStore.getAt(index).data;
return rs.display;
}
}