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

Issue with TreeView Template and angular

1 Answer 43 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ken Jones
Top achievements
Rank 1
Ken Jones asked on 07 Nov 2014, 02:22 PM
Whenever I have a div in my template the treeview will not create the nodes correctly. Even the selected item is incorrect. I included a plunker that shows the behavior. If I use a span it doesn't seem to have an issue.

http://plnkr.co/edit/zWZ6Hx?p=info

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 11 Nov 2014, 10:56 AM
Hello Ken,

We are not aware of the reason for this behavior (apart from a weak theory about invalid HTML nesting), but we have logged it for investigation. At this time, please use a <span> element instead of a <div>.

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