RadTreeListView alignment

2 posts, 0 answers
  1. Julian
    Julian avatar
    77 posts
    Member since:
    Dec 2010

    Posted 29 Mar 2011 Link to this post

    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
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 Mar 2011 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top