Has anyone produced a virtualised javascript tree for thousands of nodes? [closed]

I’m trying to move an application to the web that contains a tree of up to 50,000 nodes. I first tried to produce this using jqxtree widget, but the DOM was far too large and they clearly don’t support thousands of nodes.

I’m looking for a virtualised solution and while I’ve seen several examples of lists containing millions of items, I’ve yet to see one working with a tree. Has anyone else made this? Is it possible?

The tree doesn’t require any features like drag and drop. It’s just an expand/collapse/click event thing.

Answer

you can try jstree extension of jquery

When using AJAX set children to boolean true and jsTree will render the node as closed and make an additional request for that node when the user opens it.

core data

Leave a Reply

Your email address will not be published. Required fields are marked *