Unable to render the child nodes dynamically onClick of Expand.

2 posts, 0 answers
  1. sarath
    sarath avatar
    3 posts
    Member since:
    Oct 2014

    Posted 29 Oct 2014 Link to this post

    Please find the attached file or check into the link: http://dojo.telerik.com/emAq/2

        As per the code, My problem is that, I am unable to modify the child nodes onClick of expand.  It is able to modify the child nodes for the first time but, once I re-expand the same node the styles are not applying properly.

       My usecase: I should be able to get the child nodes from the server and render dynamically into the respective parents. My calls to the server are POST requests where the request data will be modified according to the currently selected parentNode.

    If there is any sample code please help me to make my usecase work with Kendo-Tree widget.
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2515 posts

    Posted 29 Oct 2014 Link to this post

    Hello Sarath,

    If you want to dynamically change the node items, a better way to achieve this is through a custom transport, as it will hold all information about the data. Alternatively, you can use a timeout to achieve this, as the angular scope update is executed after the event handler animates the element (and sets styles).

    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