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

TreeView lines

3 Answers 105 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vladimir
Top achievements
Rank 1
Vladimir asked on 22 Apr 2020, 03:49 PM
I'd like to show lines indicating the levels in a TreeView. Please see the image for examples. I've found something similar at https://docs.telerik.com/kendo-ui/controls/navigation/treeview/how-to/appearance/show-node-lines but it's not quite there yet.

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 24 Apr 2020, 06:11 AM

Hi,

The referenced How To article is working on my side as expected, as well as when extracted as a Dojo snippet:

I see that there is an issue with the certificate where the images are hosted so perhaps due to this issue they are blocked on your side. We will investigate this issue. I would suggest downloading the images and referencing them from another source for testing the approach.

Regards,
Dimitar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Vladimir
Top achievements
Rank 1
answered on 24 Apr 2020, 09:00 PM

Hello Dimitar,

 

Sorry I wasn't very clear in my opening. I would like to show lines as indicated in my screenshot. The dojo example works but I'd something closer to what I showed in the picture.

0
Dimitar
Telerik team
answered on 27 Apr 2020, 11:55 AM

Hello Vladimir,

It is possible to add a custom class only to elements which have a toggle arrow. The class adds a line to the element as on the following Dojo. I hope this will help you to achieve the desired appearance.

Regards,
Dimitar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TreeView
Asked by
Vladimir
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Vladimir
Top achievements
Rank 1
Share this question
or