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

Problem displaying list bullets in treeview

1 Answer 161 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 15 Apr 2013, 03:14 PM
I can't seem to get list bullets to display in the treeview. I've even tried using !important and disabling the list-style rules that set the type to none using firebug.  How can I achieve displaying bullets next to items? I wrote my rule so that they only display at a certain depth. My view is a maximum of 3 levels deep and I want the bullets on the 3rd level li's.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 16 Apr 2013, 08:29 AM
Hi Ryan,


To achieve this you should also override the display property of the items.
E.g.
#treeview .k-item{
    display: list-item;
}
 
#treeview .k-group{
    list-style-type: circle;
}

If you want to set those styles only for a single level, you should select the specified items via jQuery.

 

Greetings,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Ryan
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or