Can anyone provide a concrete example of how to make a JXTreeTable editable? Specifically, I would like to make all cells in one column editable. It does not appear to be the case that this functionality is supported out of the box.
Asked
Active
Viewed 628 times
4
-
1should work, just make sure your treeTableModel returns true for isEditable(node, column) - the default may be false, forgot ;-) If that's the case and still not working, posst an SSCCE – kleopatra Apr 17 '12 at 08:40
1 Answers
4
The JXTreeTable has all the functionality of a regular JTable, so you can use the setCellEditor and setDefaultEditor methods. So start looking for a concrete example of an editable JTable and you can use (more or less) the same code
Robin
- 36,233
- 5
- 47
- 99