vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.15k stars 1.38k forks source link

open_all with ajax on a large tree #2504

Closed billgonemad closed 3 years ago

billgonemad commented 3 years ago

Is there a way to queue up the ajax requests when calling the open_all function on a very large tree? We're seeing hundreds of requests getting sent all at once and need to queue that up somehow.

vakata commented 3 years ago

Take a look at massload - it will be a single request. You can also use core.data as a function and implement your own queue logic. Massload should be easier however.