I am implementing a class, where only the branch nodes (ie: everything other than a leaf node) is editable as a text field. I have the class set up such that nodes are editable, but even the leaf nodes are being edited. What do I do/catch to stop this behaviour? The leaf nodes are being rendered using a custom renderer.
posted 13 years ago
Never mind I solved it. For anyone who might have the same problem, in the isCellEditable() method, check to see if the node is leaf or not.