I'm trying to set a custom tree cell editor for the tree column of a JXTreeTable
, but for some reason, my editor is never called.
Here's the bit that is supposed to set the editor:
dataTable.setDefaultEditor(DataEntity.class, new NumberedListEditor(hierarchyRelation));
My implementation of getColumnClass()
returns DataEntity.class
and I overrode isCellEditable()
in my model to always return true
.
What else could be the problem?