Skip to main content

JXTree and/or JXTreeTable node cell renderer width

1 reply [Last post]
voodooman2000
Offline
Joined: 2009-03-30
Points: 0

I am having difficulty getting a JXTreeTable cell to change its width when its content changes.

Specifically, when I edit the node's label (col==0) to a value that is wider than the original value, the display is truncated with a trailing "...". This results in the following JXTreeTable appearance -

RootNode
SomeNode
SomeNode
NewNodeW... <- Selected Node
SomeNode
SomeNode

There are other nodes in the tree that have longer labels that display just fine. It's just when the new node label is longer than the previous node label.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kschaefe
Offline
Joined: 2006-06-08
Points: 0

Can you provide a small, runnable test case?

Karl