I have a Dojo tree already in my code and I want to make the tree lazy loading for performance issues. I was using a ItemFileWriteStore that connected to a REST service that I made in Java. To implement the lazy load, I switched it to a JsonRestStore and added the deferItemLoadingUntilExpanded property to the tree model.
My question is, how do I test or make sure that the data is being loaded lazily?
Thanks
Can you look at it in FireBug, Chrome dev tools, or a debugging proxy (Fiddler or similiar).
That should show if the data is 1) present initially, and 2) http requests to load the rest when requred by lazy loading.