Community
Participate
Working Groups
Currently the ComboBoxCellEditor has the text area be read-write. By default it should be read-only. This is because there is currently no way to retrieve the value of that text area, but users think they can type into that area, and it confuses them. My suggestion is that it be, by default, READ_ONLY, but with the option of being READ_WRITE. So as not to break current users, I suggest an additional constructor which takes a boolean (or a style bit) where it can be indicated to be either read/write or read/only. Then current users would use the current constructor which would make it read/only. (Note: CCombo control already handles read/write and read/only correctly). When it is read/write, the getValue() should then return the Integer if the text value equals the selection, or it should return String (text value) otherwise. If it is read/only, then return as now. This way it would be identical for current users (which really expect it to be read/only since the text itself is useless), but any new users who want read/write capability can then handle the text if it is not one of the selections. Thanks, Rich Kulp
*** This bug has been marked as a duplicate of 12329 ***