Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large data creates loading problem #7

Open
himanshu-patidar opened this issue Aug 19, 2015 · 3 comments
Open

Large data creates loading problem #7

himanshu-patidar opened this issue Aug 19, 2015 · 3 comments

Comments

@himanshu-patidar
Copy link

Hi, I am using this library and it is great.
I have one problem in it. I have a large amount of data and once loaded in DOM it hangs the browser.
In this we are using two way binding.
Is there any other way we can skip two way binding as output data is just a report.?

@aneeshwp
Copy link

Even i am facing this issue. Any updates?

@garrettheel
Copy link
Owner

You can do one-way binding for data in your templates, but I doubt you'll get a measurable performance improvement form that.

It would help if you could answer the following questions:

  1. Can you give me some sense of the size of the tree you're using? How many nodes are on the branch being opened?
  2. Do you use initialState: 'expanded' in opts?

It looks like a more performant solution would likely need changes in this library and the original jquery one, but answers to the above questions would help.

Thanks

@himanshu-patidar
Copy link
Author

My tree size is quite large. As my tree structure is like I have mainly four categories under each there can be sub-categories. In each categories/sub-categories there can be any number of nodes which shows some details.

By default I have used initialState: 'collapsed' in opts. As users clicks on categories and sub-categories its details are shown.
Suppose in my tree there a sub category say A has 200 nodes in it which shows there details respectively. Once I click on sub category, it takes a lot of time to load all 200 nodes under that sub-category.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants