Extend tree lines?

2 posts, 0 answers
  1. Steve
    Steve avatar
    97 posts
    Member since:
    May 2014

    Posted 24 Aug 2018 Link to this post

    The behavior of the lines on the treeview and treelistview are not what we would like.If you see the attachment, I have drawn a red line where I want the tree line of the parent to continue to end bottom of the last descendent, NOT end at the last direct child. This would be the case at any level not just the root. Is there any way to do that?


    Also applies to treelistview. I'd just rather not post the exact same thing there as well.



  2. Vladimir Stoyanov
    Vladimir Stoyanov avatar
    602 posts

    Posted 29 Aug 2018 Link to this post

    Hello Steve,

    Thank you for the attached picture. 

    I looked into the described requirement, however I am afraid that currently it is not possible to achieve what you are going for in the RadTreeView or the RadTreeListView. Basically the logic for drawing the tree lines is internal to both of the controls. For the RadTreeListView, the lines are added entirely in code. In the case of the RadTreeView, they exist in RadTreeViewItem's ControlTemplate as Rectangles and their width and height is set in code. However, I am afraid that it is not possible to modify the template of the RadTreeViewItem to achieve the described customization without breaking the current representation of the lines. 

    Keeping all of that in mind, the only thing that I can suggest is to log in a feature request in our feedback portal for this functionality.

    I hope this helps. Let me know if I can be of any further assistance.

    Vladimir Stoyanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top