How to check if Dojo / Javascript tree is working, lazy loading?

I have a Dojo tree already in my code, and I want the tree to be lazy loading for performance problems. I used an ItemFileWriteStore connected to the REST service that I created in Java. To implement lazy loading, I switched it to JsonRestStore and added the deferItemLoadingUntilExpanded property to the tree model.

My question is: how can I check or make sure that data is loading lazily?

thanks

+4
source share
1 answer

Can you look at it in FireBug, Chrome dev tools, or on a debugging proxy (Fiddler or similar). This should show if the data is 1) initially submitted, and 2) HTTP requests to load the rest when lazy loading is required.

+3
source

Source: https://habr.com/ru/post/1369517/


All Articles