khan4019/tree-grid-directive

Tree is not working for huge amount of data even Filter, Expand All and Collapse All feature also.

Closed this issue · 4 comments

Hi @diosney,

This is working fine with small amount of data like 1000 data.
When i start binding 6 thousand/huge amount of data into this tree then browser will get hang and same issues are happening with Expand All, Collapse All and filter also.

Waiting for you suggestion on this.

Same issue I am facing. @zakir-hussain did you find any alternative?

pzhan commented

+1

Of course it will be slow if you try to bind several thousand rows... that is an angular 2 way binding issue, a double edged sword. If you have a large dataset, best bet would likely be to use a grid that does not do 2 way binding, but a tree structure is hard to find prerolled for this use case. So, if you need a tree, and have a large dataset, roll your own. That way, you can bind the variables on demand - only for the node that the user expands.

No further updates - closing as not an issue.