micgala
10 Mar 2009, 5:48 AM
Hi.
While using a ComboBox as an editor in the EditorGrid, a ClassCastException occurs in this line:
(Editor.java - startEdit method)
field.setValue(preProcessValue(value));
My guess is that, when using ComboBox, we should assign the value using setRawValue.
So it would be like this:
if (field instanceof ComboBox) {
field.setRawValue(preProcessValue(value));
} else {
field.setValue(preProcessValue(value));
}
Is someone able to recreate this?
Regards,
Michel.
While using a ComboBox as an editor in the EditorGrid, a ClassCastException occurs in this line:
(Editor.java - startEdit method)
field.setValue(preProcessValue(value));
My guess is that, when using ComboBox, we should assign the value using setRawValue.
So it would be like this:
if (field instanceof ComboBox) {
field.setRawValue(preProcessValue(value));
} else {
field.setValue(preProcessValue(value));
}
Is someone able to recreate this?
Regards,
Michel.