Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8692227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:16:38+00:00 2026-06-13T00:16:38+00:00

I am using a jsTree with around 1500 nodes, nested to a max of

  • 0

I am using a jsTree with around 1500 nodes, nested to a max of 4 levels (most are only 1 level deep), and I’m getting Internet Explorer’s “this script is running slowly” error. I began with just a straight html_data <li> structure, generated by ASP.NET. The tree wouldn’t finish loading at all. Then I tried xml_data and json_data, which was a little better but eventually errored out. My last-stitch effort was async loading. This fixed the initial load problem, but now I get IE’s error when I expand one of the larger branches.

More details: I’m using the checkbox plugin, and I will also need the ability to search. Unfortunately, when searching, the user could potentially enter as little as one character so I’m looking at some large set of search results.

Has anybody done something similar with such a large data set? Any suggestions on speeding up the jsTree? Or, am I better off exploring other options for my GUI?

I realize I haven’t posted any code, but any general techniques/gotcha’s are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:16:39+00:00Added an answer on June 13, 2026 at 12:16 am

    I haven’t completely solved my problem, but I made some improvements so that I think it might be usable (I am still testing). I thought it could be useful for other people:

    • First, I was using jsTree in a jQuery dialog, but that seems to hurt performance. If possible, don’t mix large jsTrees and Dialogs.
    • Lazy loading is definitely the way to go with large trees. I tried json_data and xml_data, and they were both easy to implement. They seem to perform about the the same, but that’s just based on basic observation.
    • Last, I implemented a poor man’s paging. In my server-side JSON request handler, if a node has more than X children, I simply split into many nodes each having a portion of those children. For instance, if node X has say 1000 children, I gave X child nodes X1, X2, X3,…, X10 where X1 has children first 100 children, X2 has next 100 children and so on. This may not make sense for some people since you’re modifying the tree structure, but I think it will work for me.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jstree to create a multi-level tree, and I want to be able
Im using ajax loading for children nodes in JQuery JsTree plugin. I need to
I am using jstree and several nodes in my tree have the same name.
I'm using JsTree. Right now, the elements of the tree only expand when the
I'm using JSTree and checkbox plugin, but I couldn't managed to pick the nodes
I'm using JsTree stable version from Github and I'm trying the add the logic
first i explain the context then the problem. I am using jstree to transform
I'm using the jstree plugin, with an ajax call. At some point, I call
I am using margin-top in CSS on the jstree as follows: .jstree li a
I am creating a node by using crrm as below $(#TreeDiv).jstree(create, $(#somenode), inside, {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.