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

How to make the whole treeview node width clickable?

2 Answers 223 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Sanjay Gupta
Top achievements
Rank 1
Sanjay Gupta asked on 17 Feb 2009, 11:03 AM
I want that the complete width area of the treeview should be clickable. Even if the node text has smaller width then the treeview width.
How can I achieve this functionality?

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 17 Feb 2009, 02:21 PM
Hello Sanjay Gupta,

RadTreeView does not support this feature out of the box. However a similar effect can be achieved by using the following CSS:

    <style type="text/css">
    .rtSp, .rtPlus, .rtMinus
    {
        float:left;
    }
    .rtIn
    {
        display:block;
    }
    </style>

I hope this helps,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
AL
Top achievements
Rank 1
answered on 19 Mar 2009, 07:45 PM
Thanks for the question and the answer.
Tags
TreeView
Asked by
Sanjay Gupta
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
AL
Top achievements
Rank 1
Share this question
or