Treeview child DOM expand bugs

2 posts, 0 answers
  1. W
    W avatar
    17 posts
    Member since:
    Aug 2014

    Posted 03 Mar 2015 Link to this post

    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)
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2497 posts

    Posted 05 Mar 2015 Link to this post

    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.

    Alex Gyoshev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top