This is a migrated thread and some comments may be shown as answers.

TreeView Flow Direction

1 Answer 97 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ramjet
Top achievements
Rank 1
Ramjet asked on 13 Jul 2011, 09:20 PM
Hello,

Looking for input on FlowDirection for a RadTreeView. My limitation is that I have to stay at 3.5 framework and Telerik version 2010.1.519.35 (existing project). My RadTreeView works nicely but of course has a vertical flow and the UX person wants it to flow horizontal..so forgive the lame ASCII art something like this:

WRONG:
+ Node1
- Node2
    Sub2
    Sub2a
    Sub2b
+Node3

Right:
+Node1                -Node2                    +Node3
                                Sub2
                                Sub2a
                                Sub2b

The only solution I have been able to think of is to implement 3 trees on different panels and split the data up so it binds to the tree I want it to.....this seems lame so I am hoping someone can enlighten me on a better way.

Thanks
JB

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 18 Jul 2011, 08:31 AM
Hi John Bonner,

Here is one way you can make the first level of nodes to show horizontal and all the others like usual:
<style type="text/css">
       .rtUL .rtLI
       {
           float: left;
       }
          .rtUL .rtUL .rtLI
       {
           float:left;
       }
        
       .rtUL .rtLI .rtLI
       {
           float:none;
       }
       
   </style>

Hope this will be helpful.

Regards,
Plamen Zdravkov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
TreeView
Asked by
Ramjet
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or