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 6862305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:38:45+00:00 2026-05-27T02:38:45+00:00

The JStree plugin for jQuery allows you to load data to feed a navigable

  • 0

The JStree plugin for jQuery allows you to load data to feed a navigable tree GUI element provided by the library.

For small trees, just load them all in memory, and you’re done. But for large trees, that might not be a good solution. The all-in-memory approach doesn’t scale.

Think 6000 nodes (or 60,000), most of which will never be relevant to the user viewing the page. Wouldn’t it then be better to load only the first level of branches and incrementally load more branches following the user’s clicks along what’s already displayed? It certainly would.

You’d mark the tree where it has missing branches, then you’d load the missing branches on demand, remove the mark from the tree, graft the branch onto the tree, and proceed in that manner recursively if necessary.

How do you do imcremental loading? I found a question from 2009 pertaining to the same problem, but the API appears to have changed. Does anyone have a recipe of how to proceed for the current version of the library?

Note incremental loading is not the same as incremental rendering, which is another optimization already provided by the library.

  • 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-05-27T02:38:45+00:00Added an answer on May 27, 2026 at 2:38 am

    Lumi, that is how the plugin works.

    Have a look at the Demo page, about half way down, at the section “PHP & mySQL demo + event order”. The example uses the JSON format for transmitting data, which is the de facto standard, but the plugin also supports other formats. When you expand a parent node, an AJAX request is made to load the next level of nodes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i know there is a plugin for jsTree named jquery.tree.checkbox.js. that make the tree
I'm using jsTree jQuery plugin for drawing a tree. When user clicks a node,
I'm using the jsTree jquery plugin which produces the links in the tree like
I am trying to use this jQuery plugin (jsTree) in one of my project.
I am using this new jQuery plugin called jsTree www.jstree.com and using the HTML
I'm trying out jstree, the jquery plugin to create a treeview. It works fine,
I'm using the jsTree jQuery plugin with the checkbox theme. Does anyone know how
I am using the JQuery plugin jsTree, http://www.jstree.com/ I am able to expand the
I am currently using dynaTree jQuery plugin to render a tree. <div id=tree style=height:100px;>
Started playing around with jQuery and the jsTree plugin yesterday, and have it successfully

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.