View Full Version : RowEditor ComboBox updates GridPanel column with valueField instead of displayField

21 Dec 2010, 7:36 PM
hey guys,
i am having problems with RowEditor and Combo.

For my GridPanel, I have a column with:
header: 'Type',
dataIndex: 'Type',
mode: 'local',
editor: {
xtype: 'combo',
editable: false,
triggerAction: 'all',
displayField: 'Type',
hiddenName: 'type', // need this property to use valueField
valueField: 'ID',
store: guestsStore

However, after I double-click on a row and update the ComboBox dropdown with a new value, the Type column gets updated with the valueID instead of the displayField.

I'm fairly new to ExtJS and can't figure out how to work around this. Any suggestions?