Joseph Schmidt wrote:
No. I don't want to "handle" it as a label, but at the rest of the tree.
That line looks ugly, as the root is connected to nothing (visually).
From a functionality point of view however it's like all other nodes.
1. How can I get rid of this?
2. For other cases, because of usability, I would like to have the
expand box removed (or deactivated), because from the business logic
point of view, all nodes at the first level should be quickly visible,
without the user to click. So is it possible this too?
Don't think so no. The tree is rendered as an html list and its CSS
style and rendering is recursive. So it applies the same style to each
node. I did try to get rid of that first line but couldn't get it
working in all browsers. If you have a patch for this it would be very
welcome.
Also if you don't care about the visual cue (the vertical lines) then
you can probably style the Tree without this problem.
regards
bob