1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    7
    Vote Rating
    0
    mess is on a distinguished road

      0  

    Default Tree Joint Style Class

    Tree Joint Style Class


    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.
    Attached Images

  2. #2
    Ext User
    Join Date
    Oct 2008
    Location
    Warsaw(PL)/Cottbus(GER)
    Posts
    215
    Vote Rating
    0
    EagleEye666666 is on a distinguished road

      0  

    Default


    Quote Originally Posted by mess View Post
    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.

  3. #3
    Ext User
    Join Date
    Dec 2007
    Posts
    7
    Vote Rating
    0
    mess is on a distinguished road

      0  

    Default


    ok, you're right.

    I wrong tab.

Thread Participants: 1