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

Inner Node arrangement

3 Answers 34 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
FISCAL
Top achievements
Rank 1
FISCAL asked on 20 Jul 2010, 04:22 PM
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



3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 23 Jul 2010, 11:53 AM
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
0
FISCAL
Top achievements
Rank 1
answered on 23 Jul 2010, 12:27 PM
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
0
Yana
Telerik team
answered on 28 Jul 2010, 03:59 PM
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
Tags
TreeView
Asked by
FISCAL
Top achievements
Rank 1
Answers by
Yana
Telerik team
FISCAL
Top achievements
Rank 1
Share this question
or