So no any other way to prevent tree loading.
I actually need to render it as the data request needs an information held by a checkbox item of the tree's toolbar menu. (and the checkbox is stateful, cannot anticipate it's value)
So, it's maybe not very elegant but I have listened for the store's beforeload event and I return false while it's not ready to load according to my needs.
So no any other way to prevent tree loading.
I actually need to render it as the data request needs an information held by a checkbox item of the tree's toolbar menu. (and the checkbox is stateful, cannot anticipate it's value)
So, it's maybe not very elegant but I have listened for the store's beforeload event and I return false while it's not ready to load according to my needs.
You can change the query parameters that get submitted to the proxy so that it loads empty / no results first time and on some event set different parameters and then load the store again.
If I don't define any store for the tree, it does not apreciate ant send me to hell
You can change the query parameters that get submitted to the proxy so that it loads empty / no results first time and on some event set different parameters and then load the store again.
Very bad idea, I think because the ajax query will be done and consumes resources for nothing.
If you set the store to autoLoad:false on a tree are you saying it's still loading?
setting autoload to false was the very first thing I tried, but it loads anyway.