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


Reply With Quote