Grid selectable row Detached DOM tree on grid refresh

2 posts, 0 answers
  1. lorraine
    lorraine avatar
    14 posts
    Member since:
    Jun 2016

    Posted 03 Nov 2017 Link to this post

    I have a large grid with selectable rows that is polled to refresh data - I am noticing that the grid after selecting rows  when the refresh occurs the grid has detached Dom Tree - I think this is due to the select() keeping the last selected target in javascript 

    I have created a dojo and attached a screen grab
    from the screen grab you can see this detached dom tree has a retained size

    How do I clear the retained Dom Tree?

    https://dojo.telerik.com/elITE

     

  2. Stefan
    Admin
    Stefan avatar
    2491 posts

    Posted 07 Nov 2017 Link to this post

    Hello, Lorraine,

    Thank you for the details and the example.

    After consulting with the developers' team, I can confirm that this is expected and the mentioned detached DOM trees will be cleared by the garbage collector. If the element is with a red background this means that it will be cleared by the garbage collector:

    https://developers.google.com/web/tools/chrome-devtools/memory-problems/

    Currently, the Kendo UI team has no control over when the garbage collector will clear the nodes.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top