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

RadTreeListView alignment

1 Answer 72 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Julian
Top achievements
Rank 1
Julian asked on 29 Mar 2011, 08:13 AM
Hi guys,

I have the following situation.
I have to show in a column image with a text. For that purpose I created datatemplate which consist text + image.

I would like to change default alignment  of hierarchical view. By default we have something like that:

item 1
------item 2
-------------item3

I would like to have the first item in the list (parent) like above and the childrens like below:

item 1
-----------item 2
-----------------------item 3

Would you please provide me with solution how to do it. This is kind of showstopper for us.       

thank you in advance.
Julin

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 29 Mar 2011, 03:56 PM
Hi Julian,

 

With the current implementation of RadTreeListView there is no easy way to change this behavior, because the position of child items in RadTreeListView is internally handled and it is not easy to manipulate these even inside CellTemplate. Furthermore, I strongly addvocate to use the default behavior of RadTreeListView.

  

Kind regards,
Vanya Pavlova
the Telerik team
Tags
TreeListView
Asked by
Julian
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or