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

Extend tree lines?

1 Answer 26 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 24 Aug 2018, 11:53 PM

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.

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 29 Aug 2018, 03:25 PM
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.

Regards,
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.
Tags
TreeView
Asked by
Steve
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or