PDA

View Full Version : Tree Joint Style Class



mess
11 Nov 2008, 3:41 AM
Hi all,
i have a tree with 1 level (like a list).

The items has big intentation. With firebug i see that the problem is the joint element.

So i make this:
tree.getStyle().setJointCloseIconStyle("joint-hide");
with
.joint-hide{display:none;}
but not work.

In generated source i can't see the string "joint-hide".

Instead, the code
tree.getStyle().setLeafIconStyle("not-compiled");
work for me.

even
tree.getStyle().setJointOpenIconStyle("joint-hide");
tree.getStyle().setNodeCloseIconStyle("joint-hide");
tree.getStyle().setNodeOpenIconStyle("joint-hide");
apparently not work.

Thanks all.

EagleEye666666
12 Nov 2008, 11:06 AM
Hi all,
i have a tree with 1 level (like a list).

The items has big intentation. With firebug i see that the problem is the joint element.

So i make this:
tree.getStyle().setJointCloseIconStyle("joint-hide");
with
.joint-hide{display:none;}
but not work.

In generated source i can't see the string "joint-hide".

Instead, the code
tree.getStyle().setLeafIconStyle("not-compiled");
work for me.

even
tree.getStyle().setJointOpenIconStyle("joint-hide");
tree.getStyle().setNodeCloseIconStyle("joint-hide");
tree.getStyle().setNodeOpenIconStyle("joint-hide");
apparently not work.

Thanks all.

I guess, that you are searching for help! :) so

wrong Forum here! Unfortunately i can't help you with your problem, lack of knowledge! :( I was not using the tree yet.

mess
13 Nov 2008, 7:23 AM
ok, you're right.

I wrong tab. :)