I am using a row editor with a Grid to edit 4 text boxes and 2 combo boxes. The dirty flag always shows up on the 2 combo boxs even if i did not change the value in the combo boxes. Is there a way to prevent this?



Code:
 
column = new ColumnConfig("ADJM_CODE", "Adjm Cd", 50);
final SimpleComboBox<String> combo = new SimpleComboBox<String>();
//combo.setForceSelection(true);
combo.setTriggerAction(TriggerAction.ALL);
combo.add("A");
combo.add("B");
combo.add("I");

CellEditor editor = new CellEditor(combo)
{
@Override
public Object preProcessValue(Object value)
{
if (value == null) { return value; }
return combo.findModel(value.toString());
}

@Override
public Object postProcessValue(Object value)
{
if (value == null) { return value; }
return ((ModelData) value).get("value");
}
};
column.setEditor(editor);
lColumns.add(column);

column = new ColumnConfig("DISP_CODE", "Disp Cd", 50);
final SimpleComboBox<String> combo2 = new SimpleComboBox<String>();
combo2.setForceSelection(true);
combo2.setTriggerAction(TriggerAction.ALL);
combo2.add("A");
combo2.add("B");
combo2.add("I");

editor = new CellEditor(combo2)
{
@Override
public Object preProcessValue(Object value)
{
if (value == null) { return value; }
return combo2.findModel(value.toString());
}

@Override
public Object postProcessValue(Object value)
{
if (value == null) { return value; }
return ((ModelData) value).get("value");
}
};
column.setEditor(editor);
lColumns.add(column);