Inner Node arrangement

4 posts, 0 answers
  1. FISCAL
    FISCAL avatar
    91 posts
    Member since:
    May 2010

    Posted 20 Jul 2010 Link to this post

    Hi,

    Is it possible to arrange the inner nodes in two columns rather than default one column? For example,

    Rather than following default look, 

    Node1
            InnerNode1
    InnerNode2
    InnerNode3
    Node2 
           InnerNode1
           InnerNode2
           InnerNode3
           InnerNode4

    Is it possible to have it re-arranged to like below?

    Node1
           InnerNode1  Inner Node2 
           InnerNode3
    Node2
          InnerNode1  InnerNode2
          InnerNode3  InnerNode4


    Any help is highly appreciated.

    Many thanks.

    M G



  2. Yana
    Admin
    Yana avatar
    4915 posts

    Posted 23 Jul 2010 Link to this post

    Hello M G,

    Please add the following css styles to your page to achieve the needed layout:

    <style type="text/css">
            div.RadTreeView .rtUL .rtUL .rtLI { float: left; }
            div.RadTreeView .rtUL .rtUL .rtLast { float: none; }
    </style>

    Note also that ShowLineImages property of the treeview should be disabled.

    Kind regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. FISCAL
    FISCAL avatar
    91 posts
    Member since:
    May 2010

    Posted 23 Jul 2010 Link to this post

    Hi Yana,

    Many thanks for the solution - nearly the way I wanted it to look.

    Is possible arrange nodes into multiple number of columns rather than simply displaying it horinzontally?

    e.g. Displaying innernodes in 3 columns.

    Cheers,
    M G
  4. Yana
    Admin
    Yana avatar
    4915 posts

    Posted 28 Jul 2010 Link to this post

    Hello M G,

    You should set "float: none" to every third node in order to achieve this, also the nodes will not be aligned in columns. I suggest you review your logic and use templates instead.

    Best regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top