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

Grid selectable row Detached DOM tree on grid refresh

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lorraine
Top achievements
Rank 1
lorraine asked on 03 Nov 2017, 10:09 AM

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

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Nov 2017, 08:42 AM
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.
Tags
Grid
Asked by
lorraine
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or