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

TreeView - Child nodes position

2 Answers 68 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
GSK
Top achievements
Rank 2
GSK asked on 24 May 2010, 12:55 PM
Hi,

Can we change the position where the nodes are displayed?
For example

Column 1           Column 2              Column 3
========          ========             ========

- Root
                          + Node 1
                          + Node 2
                           - Node 3
                                                         Child Node 1
                                                         Child Node 2


I would require the Node 1, Node 2, Node 3 to be displayed in the second column (and not just below the "Root")

Could somebody help me in this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 24 May 2010, 02:09 PM
Hi,

I used following style on page in order to accomplish similar appearance.

CSS:
 
    <style type="text/css"
        .RadTreeView .rtUL .rtLI .rtUL 
        { 
            padding-left200px !important; 
        } 
    </style> 

aspx:
 
<telerik:RadTreeView ShowLineImages="false" ID="RadTreeView3" runat="server"
    <Nodes> 
     . . . 
    </Nodes> 
</telerik:RadTreeView> 


-Shinu.
0
GSK
Top achievements
Rank 2
answered on 24 May 2010, 02:23 PM
It WORKS!!

Thanks Shinu!

~Gsk
Tags
TreeView
Asked by
GSK
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
GSK
Top achievements
Rank 2
Share this question
or