When using a TextField as a cell editor, a typical use case is the registration of a PropertyChangeListener on the TextField's focusedProperty to commit the value on a focus lost.
This works when the user selects something at the same row. If the selected row changes, the commitEdit is ignored and cancelEdit is called instead. Some investigation showed, that in the first case, isEditing returns with true, in the latter with false.
This works when the user selects something at the same row. If the selected row changes, the commitEdit is ignored and cancelEdit is called instead. Some investigation showed, that in the first case, isEditing returns with true, in the latter with false.
- relates to
-
JDK-8089514 [TableView, TreeView, ListView, TreeTableView] Clicking outside of the edited cell, node, or entry should commit the value
- Open