|Databinding custom cell editor [message #656721]
||Mon, 28 February 2011 04:28
| Marco Maccaferri
Registered: July 2009
I'm trying to use a custom cell editor with databinding. I wrote a
custom observable value for the cell editor that fires value change
events from an ICellEditorListener.applyEditorValue. The problem I'm
facing is that these notifications are completely ignored by the
framework. I added some debug outputs to the methods and I'm sure that
the fireValueChange method is called with the correct parameters. The
notifications are simply discarded, without errors. Why ?
The only way I found to get notifications is through a KeyListener added
to the cell editor, when the user hits RETURN the notification is fired
and the model updated correctly. Same observable value class, same cell
editor, same place where it is added, same notification, the KeyListener
works, the ICellEditorListener don't. This is driving me crazy!
Any suggestion ?