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

Treeview child DOM expand bugs

1 Answer 41 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
W
Top achievements
Rank 1
W asked on 03 Mar 2015, 03:16 PM
I have a treeview with a parent and a child,
In each item, I don't just assign, but also an HTML Element, in my case it is a button,
so the item inside will be like: <span><button>Item</button></span>

If it is a parent, when I expand or collapse it, the button element is removed permanently and it will only leave the span and the text inside,
I noticed that this is only occur in 14xx kendo version of mine, but when I revert to 11xx, the bug wouldn't occur,

I have made a snippet as an example

In the snippet, the bug will only occur if the library code ​Kendo Q3 2014 ​SP1 ​or ​Kendo Q3 2014 SP2​ is selected,
if ​Kendo Q3 2014​ is selected, it will work just fine (the button will not be removed)

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 05 Mar 2015, 11:46 AM

Thank you for reporting this; we have logged this for investigation for viable fixes. You can workaround the problem by rendering the TreeView on the client-side with an item template, like shown in this Dojo snippet.

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
W
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or